You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search Console date presets roll over during the Pacific day #570
Search Console date presets change at UTC midnight, during the same Pacific calendar day. Make the rollover convention clear and consistent with the dates described by the tool.
What is happening?
With last_7_days, the unchanged upstream resolveDateRange helper returns:
2026-11-15T23:59:00Z -> Nov 6–12
2026-11-16T00:01:00Z -> Nov 7–13
Those instants are 3:59 PM and 4:01 PM Pacific on November 15. A same-day comparison can therefore request different sets of dates after the preset rolls over.
What should happen?
Prefer advancing presets at Pacific midnight while preserving the existing data lag. If UTC rollover is intentional, document it in the preset description.
Extra context
Google defines request dates in Pacific time, but does not prescribe how applications calculate relative presets. Both examples are valid date ranges under that contract. This is a date-preset consistency issue, not an API compliance failure.
Reproduced offline against upstream 2df84ff9, src/server/features/gsc/searchAnalytics.ts; no Google requests were made. Separate from #454: both ranges contain seven days.
changed the title [-]Search Console preset date ranges advance before Pacific midnight[/-][+]Search Console date presets roll over during the Pacific day[/+]on Nov 16, 2026
Activity
[-]Search Console preset date ranges advance before Pacific midnight[/-][+]Search Console date presets roll over during the Pacific day[/+]feat(reports): agent-written HTML reports per project (every-app#570)