Files
brave-core/components/serp_metrics
Aleksei Seren d5f5a2ecc4 Switch Serp Metrics daily boundary calculations to UTC (#35829)
Replace local-midnight timestamps with UTC midnight throughout
`SerpMetrics` and `SerpMetricsTimePeriodStorage` so daily report
windows are always exactly 24 hours and unaffected by DST
transitions. Add a `kLastReportedAt` preference to store the
timestamp of each successful daily ping, giving
`GetStartOfStalePeriod` a UTC-aligned starting point. Existing
profiles that have no `kLastReportedAt` value continue migrating
from the legacy local-date string in `kLastCheckYMD` until they
send their first report under the new scheme. Remove the
DST-specific test files since UTC boundaries need no DST correction.
2026-04-28 21:59:20 +02:00
..