Closed Bug 1789663 Opened 2 years ago Closed 2 years ago

[foxfooding] Relative dates in Firefox View can be confusing for dates longer than 6 days

Categories

(Firefox :: Firefox View, defect, P2)

Firefox 106
Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
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)

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


Link to the original attachment

Blocks: firefox-view
Whiteboard: [foxfooding] → [fidefe-2022-mr1-firefox-view] [foxfooding]
Severity: -- → S4
Priority: -- → P3
Severity: S4 → S3
Priority: P3 → P2
See Also: → 1789905
Depends on: 1789905
See Also: 1789905
Whiteboard: [fidefe-2022-mr1-firefox-view] [foxfooding] → [fidefe-2022-mr1-firefox-view] [foxfooding] [Interface]
See Also: → 1790135

Fixed in bug 1789905 by adding "week" support to the relative time format's formatBestUnit code.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

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).

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: