Anki/rslib/src/scheduler
user1823 383c45394f Improve natural unit conversion for a time b/w 360 to 365 days (#3901)
* Improve natural unit conversion for a time b/w 360 to 365 days

Previously, 363 days would be converted to 12.1 months, which is quite confusing because
- a user would think that if the value is more than 12 months, why it isn't displayed in years
- the value is actually less than a year, which is counterintuitive as 12.1 m suggests a value more than a year.

* precise

* Update time.ts to match timespan.rs

* Add another test

* Use average duration of a month instead

* Update time.ts

* Update test_schedv3.py

* Update time.test.ts
2025-04-13 14:26:34 +10:00
..
answering Refactor: Make Load Balancer Optional Throughout Codebase (#3860) 2025-03-26 23:19:28 +10:00
filtered Do not reset original_due when card stays in filtered deck (#2988) 2024-02-07 13:27:54 +10:00
fsrs Feat/simplified relearning steps logic with updated FSRS training API (#3867) 2025-03-20 14:04:38 +07:00
queue Refactor: Make Load Balancer Optional Throughout Codebase (#3860) 2025-03-26 23:19:28 +10:00
service Feat/simplified relearning steps logic with updated FSRS training API (#3867) 2025-03-20 14:04:38 +07:00
states Refactor: Make Load Balancer Optional Throughout Codebase (#3860) 2025-03-26 23:19:28 +10:00
bury_and_suspend.rs Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
congrats.rs Move generated protobuf into anki_proto 2023-06-12 15:47:51 +10:00
mod.rs Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
new.rs Update to Rust 1.75 2024-01-05 14:28:23 +10:00
reviews.rs Feat/grade now (#3840) 2025-03-15 17:30:40 +07:00
timespan.rs Improve natural unit conversion for a time b/w 360 to 365 days (#3901) 2025-04-13 14:26:34 +10:00
timing.rs Fix cards showing up due in the past in a filtered deck 2023-11-20 10:52:13 +10:00
upgrade.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00