[browser] date range calculation in History: 'Last 7 days' should be last 7 days, not calendar week

VERIFIED FIXED

Status

Firefox OS
Gaia::Browser
P2
normal
VERIFIED FIXED
5 years ago
3 years ago

People

(Reporter: aryx, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [sprintready]c=browser u=user)

Unagi with Gaia 1.1.0.0-prerelease 20130524230207

The History tab uses 'This week' as label for pages which have last been visited in a certain range, but according to that logic,  they don't belong into that category if they are in a different calendar week.

Steps to reproduce:
1. Set the date to a Saturday.
2. Visit a page.
3. Change the date to the following Monday.
4. Open again the browser, switch to another tab and back to the History tab.

Actual result:
The page can be found under 'This month'.

Keep also in mind that depending on country, culture and religion, there are different days in which a week can start.
Of course I mean the label
last-7-days=Last 7 days
not 'This week'.
Summary: [browser] date range calculation in History: 'This week' should be last 7 days, not calendar week → [browser] date range calculation in History: 'Last 7 days' should be last 7 days, not calendar week
Whiteboard: c=browser u=user
Priority: -- → P2

Updated

5 years ago
Whiteboard: c=browser u=user → [sprintready]c=browser u=user
In current trunk we display "last 7 days", so this was fixed with the new implementation.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.