Anki/rslib/src/stats/graphs
Kieran Black c54e5552e4 fix stats calendar incorrect due to daylight savings time (#2456)
* fix stats calendar daylight saving time offset bug

Previously, when computing counts for the calendar in the stats menu, it was assumed that days had 86,400 seconds. However, this assumption does not hold true on the day when daylight savings occurs.

* add self to CONTRIBUTORS and about.py

* fix stats calendar anki day to calendar day mapping

Since Anki days don't necessarily roll over at midnight, mapping an Anki day into a calendar day needs to have a linear shift applied. By providing the frontend with access to the scheduler's rollover hour, we can account for this offset.
2023-03-28 15:35:06 +10:00
..
added.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
buttons.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
card_counts.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
eases.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
future_due.rs Probable fix for future due graph 2023-01-20 00:18:13 +10:00
hours.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
intervals.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
mod.rs fix stats calendar incorrect due to daylight savings time (#2456) 2023-03-28 15:35:06 +10:00
reviews.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
today.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00