wordpress-mobile / wordpress-mobile/WordPress-iOS

Stats: Today's Stats is Off By One Hour

Open
#24,082 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Stats
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

The module starts showing tomorrow's stats before the day is over:

https://github.com/user-attachments/assets/d09e30e9-a7f8-4f50-a219-60989b75d116

I suspect this is some kind of Daylight Savings Time issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Today's Stats behavior around the daylight-saving transition and trace the stats module's date and time handling. Done means today's stats remain displayed until the local day ends, without showing tomorrow's stats an hour early.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.