mirror of https://github.com/espruino/BangleApps
Fix midnight
parent
bbc9d63d51
commit
85650f6d4b
|
@ -1,2 +1,3 @@
|
||||||
0.12: First release
|
0.12: First release
|
||||||
0.13: Fix widgets reappearing
|
0.13: Fix widgets reappearing
|
||||||
|
0.14: Fix midnight
|
|
@ -214,7 +214,7 @@ function getRoundMinutes(m) {
|
||||||
const nearest = roundTo(5)(m);
|
const nearest = roundTo(5)(m);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
minutes: nearest,
|
minutes: nearest % 60,
|
||||||
offset: m - nearest
|
offset: m - nearest
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "Dutch Clock",
|
"name": "Dutch Clock",
|
||||||
"shortName":"Dutch Clock",
|
"shortName":"Dutch Clock",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version":"0.13",
|
"version":"0.14",
|
||||||
"description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.",
|
"description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
"tags": "clock,dutch,text",
|
"tags": "clock,dutch,text",
|
||||||
|
|
Loading…
Reference in New Issue