forked from FOSS/BangleApps
add set timezone
parent
ef284de4a4
commit
6208a39695
|
@ -4,6 +4,8 @@
|
|||
const Radius = { "center": 8, "hour": 78, "min": 95, "dots": 102 };
|
||||
const Center = { "x": 120, "y": 132 };
|
||||
|
||||
try{ E.setTimeZone(require("Storage").readJSON("@setting").timezone);} catch(e){}
|
||||
|
||||
function rotatePoint(x, y, d) {
|
||||
rad = -1 * d / 180 * Math.PI;
|
||||
var sin = Math.sin(rad);
|
||||
|
@ -81,7 +83,6 @@
|
|||
|
||||
g.clear();
|
||||
setInterval(drawMixedClock, 5E3);
|
||||
drawWidgets();
|
||||
drawMixedClock();
|
||||
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue