Anki/rslib/src
user1823 e546c6d11f
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
..
ankidroid
ankihub
backend
card Don't recalculate remaining steps, conditionally (#3849) 2025-03-14 16:32:28 +07:00
card_rendering Modify card rendering output to specify if rendered card is empty (#3890) 2025-03-31 17:51:28 +07:00
collection Refactor: Make Load Balancer Optional Throughout Codebase (#3860) 2025-03-26 23:19:28 +10:00
config
deckconfig Fix panic when clearing today limits on the day collection was made (#3877) 2025-03-25 00:24:11 +07:00
decks Fix superfluous message when a deck is dragged to its parent (#3859) 2025-03-31 16:47:56 +07:00
error
i18n
image_occlusion
import_export Fix deck day limits incorrectly being carried over when importing (#3878) 2025-03-25 00:45:09 +07:00
media
notes
notetype Modify card rendering output to specify if rendered card is empty (#3890) 2025-03-31 17:51:28 +07:00
revlog
scheduler Improve natural unit conversion for a time b/w 360 to 365 days (#3901) 2025-04-13 14:26:34 +10:00
search
stats Replace some means in Stats with medians (#3900) 2025-04-11 19:29:23 +10:00
storage
sync
tags Fix superfluous message when a deck is dragged to its parent (#3859) 2025-03-31 16:47:56 +07:00
undo
adding.rs
browser_table.rs
cloze.rs Improve performance of card rendering parser (#3886) 2025-03-31 17:38:46 +07:00
dbcheck.rs
findreplace.rs
latex.rs
lib.rs
links.rs
log.rs
markdown.rs
ops.rs Refactor: Make Load Balancer Optional Throughout Codebase (#3860) 2025-03-26 23:19:28 +10:00
preferences.rs
prelude.rs
progress.rs
serde.rs
services.rs
template.rs Modify card rendering output to specify if rendered card is empty (#3890) 2025-03-31 17:51:28 +07:00
template_filters.rs Prevent accidental dragging of audio playback buttons and hint links (#3844) 2025-03-14 16:47:03 +07:00
tests.rs
text.rs
timestamp.rs
typeanswer.rs
types.rs
version.rs