Fix midnight decisively

pull/3560/head
Martin Pool 2024-09-06 22:53:14 +02:00
parent 610e1808f5
commit 072db5c9b9
3 changed files with 4 additions and 3 deletions

View File

@ -2,3 +2,4 @@
0.13: Fix widgets reappearing
0.14: Fix midnight
0.15: Fix midnight better
0.16: Fix midnight decisively

View File

@ -215,7 +215,7 @@ function getRoundMinutes(m) {
const nearest = roundTo(5)(m);
return {
minutes: nearest,
minutes: nearest % MINS_IN_DAY,
offset: m - nearest
};
}

View File

@ -3,7 +3,7 @@
"name": "Dutch Clock",
"shortName":"Dutch Clock",
"icon": "app.png",
"version":"0.15",
"version":"0.16",
"description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.",
"type": "clock",
"tags": "clock,dutch,text",