3 minutes better
parent
0f404f7e01
commit
5ac841c0fe
|
|
@ -2,13 +2,13 @@
|
|||
var drawTimeout;
|
||||
|
||||
// https://www.espruino.com/Bangle.js+Locale
|
||||
// schedule a draw for the next 5 minutes
|
||||
// schedule a draw for the next 3 minutes
|
||||
function queueDraw() {
|
||||
if (drawTimeout) clearTimeout(drawTimeout);
|
||||
drawTimeout = setTimeout(function () {
|
||||
drawTimeout = undefined;
|
||||
draw();
|
||||
}, 300000 - (Date.now() % 300000));
|
||||
}, 180000 - (Date.now() % 180000));
|
||||
}
|
||||
|
||||
function wordFromHour(h) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"id": "onewordclock",
|
||||
"name": "One Word Clock",
|
||||
"shortName": "One Word",
|
||||
"version": "0.9",
|
||||
"version": "0.91",
|
||||
"description": "A unique clock that displays a single evocative word for each hour of the day",
|
||||
"icon": "app.png",
|
||||
"tags": "clock",
|
||||
|
|
|
|||
Loading…
Reference in New Issue