mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
* 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 |
||
|---|---|---|
| .. | ||
| editable | ||
| editor | ||
| html-filter | ||
| icons | ||
| lib | ||
| mathjax | ||
| reviewer | ||
| routes | ||
| src | ||
| tools | ||
| .gitignore | ||
| bundle_svelte.mjs | ||
| bundle_ts.mjs | ||
| licenses.json | ||
| page.html | ||
| README.md | ||
| svelte.config.js | ||
| transform_ts.mjs | ||
| tsconfig.json | ||
| tsconfig_legacy.json | ||
| vite.config.ts | ||
| yarn.sh | ||
Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.
To update all dependencies:
./update.sh
To add a new dev dependency, use something like:
./add.sh -D @rollup/plugin-alias