mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
![]() * Fix steps being mistaken for seconds * Cap steps at `u32::max` seconds * Fix overflow of steps in Rust * Prevent overflow of `IntervalKind` * Prevent overflow in `revlod/mod.rs` Also replace some `as` with `from` and `try_from` as is recommended to highlight potential issues. * Ensure v2 doesn't store overflowing revlog ivls * Lower steps cap in deck options Whereas large card intervals are converted to days, revlog intervals use i32s to store large numbers of seconds. * Format |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
legacy.py | ||
v1.py | ||
v2.py | ||
v3.py |