Bug with “A 100 day interval will become X days.” (#3432)

* add name to about page

* use two decimal retention for calculations

* Update CONTRIBUTORS

* format

* Update CONTRIBUTORS

* Update CONTRIBUTORS

* Update CONTRIBUTORS
This commit is contained in:
Ben Nguyen 2024-09-22 01:24:32 -07:00 committed by GitHub
parent b08e454f57
commit c2f3e63b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

@ -80,6 +80,7 @@ def show(mw: aqt.AnkiQt) -> QDialog:
"Andreas Klauer",
"Andrew Wright",
"Aristotelis P.",
"Ben Nguyen",
"Bernhard Ibertsberger",
"C. van Rooyen",
"Cenaris Mori",

View file

@ -64,8 +64,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
}
$: computing = computingWeights || checkingWeights || computingRetention;
$: defaultWeightSearch = `preset:"${state.getCurrentName()}" -is:suspended`;
$: desiredRetentionWarning = getRetentionWarning($config.desiredRetention);
$: retentionWarningClass = getRetentionWarningClass($config.desiredRetention);
$: roundedRetention = Number($config.desiredRetention.toFixed(2));
$: desiredRetentionWarning = getRetentionWarning(roundedRetention);
$: retentionWarningClass = getRetentionWarningClass(roundedRetention);
let computeRetentionProgress:
| ComputeWeightsProgress