[foxfooding] Relative dates in Firefox View can be confusing for dates longer than 6 days
Categories
(Firefox :: Firefox View, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | verified |
People
(Reporter: pdehaan, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-2022-mr1-firefox-view] [foxfooding] [Interface])
Attachments
(1 file)
308.39 KB,
image/png
|
Details |
Firefox Version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Window Size (inner width and height): 1728x915
GitHub Username: @lime124
Steps to Reproduce
in the recently closed, you'll see the expected minutes, hours, days ago. but then the pattern breaks when it switches to "last month". i know that sept is literally last month but in my relative view of time, it was also the end of last week - not even 7 days ago. so it feels a bit jarring even though technically it's true.
Expected Behavior
Not sure how much control we have over the relative date format, or if it can expand to "last week" versus "last month" for things 6<n<14 days
Actual Behavior
A date that was 6 days ago shows as "last month".
Attachment
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Fixed in bug 1789905 by adding "week" support to the relative time format's formatBestUnit
code.
Comment 2•2 years ago
|
||
Reproduced the issue described in comment 0 using an old Nightly build from (2022-09-07). Verified that we now identify as week or x weeks when the visited closed website is one or more weeks old (even when that particular week is split between two months) using latest Firefox 106.0b5 across platforms (Windows 10, Ubuntu 21.04 and macOS 11.6).
Description
•