1
0
Fork 0

Get time zone from settings for showing the clock

master
Dennis Kueper 2023-08-08 08:05:38 +02:00
parent 614c003eca
commit a3d2e0a3b5
3 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
0.01: New App!
0.02: Fix issue setting colors after showMessage
0.03: Fix BG/FG Color if e.g. theme background is black
0.04: Get time zone from settings for showing the clock

View File

@ -13,7 +13,8 @@ const states = {
stop: 32 // timer stopped
};
var state = states.start;
E.setTimeZone(1);
let setting = require("Storage").readJSON("setting.json",1);
E.setTimeZone(setting.timezone);
// Title showing current time
function appTitle() {

View File

@ -1,7 +1,7 @@
{
"id": "teatimer",
"name": "Tea Timer",
"version": "0.03",
"version": "0.04",
"description": "A simple timer. You can easyly set up the time.",
"icon": "teatimer.png",
"type": "app",