Ok, what you're after looks like it's similar to some other clock apps - for example https://banglejs.com/apps/?id=worldclock (there are some others, like https://banglejs.com/apps/?q=zone)
Those use a 'customiser' page on the app loader to let you configure them from the App Loader (https://www.espruino.com/Bangle.js+Custom)
You can check the code out at https://github.com/espruino/BangleApps/tree/master/apps/worldclock but basically:
worldclock.settings.json
data = require("Storage").readJSON("worldclock.settings.json")
is Bangle.js aware of timezones and daylight savings?
It's not enabled by default, but if you install https://banglejs.com/apps/?id=widdst then yes it is
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, what you're after looks like it's similar to some other clock apps - for example https://banglejs.com/apps/?id=worldclock (there are some others, like https://banglejs.com/apps/?q=zone)
Those use a 'customiser' page on the app loader to let you configure them from the App Loader (https://www.espruino.com/Bangle.js+Custom)
You can check the code out at https://github.com/espruino/BangleApps/tree/master/apps/worldclock but basically:
worldclock.settings.json
data = require("Storage").readJSON("worldclock.settings.json")
It's not enabled by default, but if you install https://banglejs.com/apps/?id=widdst then yes it is