decentraland / decentraland/unity-explorer
Fix event start time formatting to show rounded minutes in map Events tab
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 101
Description
### Build version
v0.162.0-alpha-main
### Issue Description
When opening the map, navigating to a place (e.g. Genesis Plaza), and viewing the Events tab, the event start time is displayed with excessive floating-point precision. For example: _"Event started, 17.96057025333 minutes ago"_ instead of a rounded value like _"18 minutes ago"_.
### STR (Steps to Reproduce)
1. Open the map
2. Click on Genesis Plaza
3. Go to the **Events** tab
4. Observe the event start time label
### Expected Result
Event start time should be displayed as a human-readable rounded value (e.g. "18 minutes ago"), without unnecessary decimal places.
### Actual Result with evidence
Event start time shows an unformatted raw float: e.g. _"Event started, 17.96057025333 minutes ago"_
### Reproduction
Always (100%)
### Operative system and additional Notes
Windows 11
---
Reported by Dawid Krajewski
Requested by Dawid Krajewski (<@U079GRD9WTZ>)
Contributor guide
Research direction
Start by reproducing the issue in the map's Events tab at Genesis Plaza and locate the code that formats the event start-time label. Verify the displayed elapsed time is rounded to whole minutes without excessive decimal precision, then confirm the result against the reported example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 74/100