Skip to content

Commit

Permalink
Fix midnight decisively
Browse files Browse the repository at this point in the history
  • Loading branch information
whenlit committed Sep 6, 2024
1 parent 610e180 commit 072db5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/dutchclock/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
0.12: First release
0.13: Fix widgets reappearing
0.14: Fix midnight
0.15: Fix midnight better
0.15: Fix midnight better
0.16: Fix midnight decisively
2 changes: 1 addition & 1 deletion apps/dutchclock/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function getRoundMinutes(m) {
const nearest = roundTo(5)(m);

return {
minutes: nearest,
minutes: nearest % MINS_IN_DAY,
offset: m - nearest
};
}
Expand Down
2 changes: 1 addition & 1 deletion apps/dutchclock/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 072db5c

Please sign in to comment.