Stats bug (v2.0.67)

Here’s a weird bug. Between midnight (when the calendar day ends) and sometime around 2:00 am (which is before anki’s next “day” rolls over), the stats screen says I performed 0 reviews on March 8.

It’s always March 8.

The rest of the time, it correctly says I performed either 121 reviews or 133 reviews on March 8.

Could you let me know your AnkiWeb ID or send me your collection without media privately, so I can try to reproduce it? Please also let me know your local timezone.

To where would I send it to you privately?

It’s almost certainly some sort of daylight savings time boundary case. March 8 (at 2:00 a.m.) is when daylight savings time begins here (in the EST and EDT timezones).

Investigating further: my number of reviews displayed for March 8 drops to zero at midnight, stays at zero through 12:59 a.m., increases to 64 at 1:00 a.m., increases to 133 by 1:59 a.m., and sometime after that falls to 121.

Messaged you my AnkiWeb ID (after finally getting around to setting one up).

Thanks for that, I’ve reproduced the issue and confirmed it happens with the new timezone code as well. I’m not sure if it will be easy to work around, but have made a note to look into it further when I have a chance.

I am experiencing the same bug on desktop and AnkiMobile only this time for March 12th. I am working on a PR here which fixes this:

fix stats calendar incorrect due to daylight savings time by kieranlblack · Pull Request #2456 · ankitects/anki (github.com)

1 Like