Get time zone from settings for showing the clock
parent
614c003eca
commit
a3d2e0a3b5
|
|
@ -1,3 +1,4 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
0.02: Fix issue setting colors after showMessage
|
0.02: Fix issue setting colors after showMessage
|
||||||
0.03: Fix BG/FG Color if e.g. theme background is black
|
0.03: Fix BG/FG Color if e.g. theme background is black
|
||||||
|
0.04: Get time zone from settings for showing the clock
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,8 @@ const states = {
|
||||||
stop: 32 // timer stopped
|
stop: 32 // timer stopped
|
||||||
};
|
};
|
||||||
var state = states.start;
|
var state = states.start;
|
||||||
E.setTimeZone(1);
|
let setting = require("Storage").readJSON("setting.json",1);
|
||||||
|
E.setTimeZone(setting.timezone);
|
||||||
|
|
||||||
// Title showing current time
|
// Title showing current time
|
||||||
function appTitle() {
|
function appTitle() {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "teatimer",
|
"id": "teatimer",
|
||||||
"name": "Tea Timer",
|
"name": "Tea Timer",
|
||||||
"version": "0.03",
|
"version": "0.04",
|
||||||
"description": "A simple timer. You can easyly set up the time.",
|
"description": "A simple timer. You can easyly set up the time.",
|
||||||
"icon": "teatimer.png",
|
"icon": "teatimer.png",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue