anki/rslib
Kieran Black fe591f6be7
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
..
ascii_percent_encoding Update crate name in docstrings to fix 'cargo test' 2022-12-16 22:30:54 +10:00
benches Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
build Deck scoped dupe check (#2372) 2023-02-16 17:53:36 +10:00
i18n Trigger rebuild on STRINGS_JSON change 2023-02-17 19:03:33 +10:00
i18n_helpers Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
linkchecker Check URLs in TS code (#2436) 2023-03-15 15:46:03 +10:00
src fix stats calendar incorrect due to daylight savings time (#2456) 2023-03-28 15:35:06 +10:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
Cargo.toml Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00

Anki's Rust code.