Closed Bug 876152 Opened 11 years ago Closed 10 years ago

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

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: aryx, Unassigned)

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
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
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.