I would suggest adding to the language selection in the language app a selection for the timezone and saving the next few changeover dates together with the amount of change together with the locale stuff. custom.html could use https://momentjs.com/downloads/moment-timezone-with-data-10-year-range.min.js . Usage: moment.tz.names(); would give all timezone names to select from (or two step selection with moment.tz.countries() and moment.tz.zonesForCountry(String); ), moment.tz.zone(String) gives the zone data for a selected name. Either upload this zone data directly or use the packed format: https://momentjs.com/downloads/moment-timezone-utils.js provides moment.tz.pack(UnpackedZoneData) From https://github.com/moment/moment-timezone/blob/d7f687ea598b205806decd83b78d3ea9ad11a569/moment-timezone.js#L48 to https://github.com/moment/moment-timezone/blob/d7f687ea598b205806decd83b78d3ea9ad11a569/moment-timezone.js#L136 is the code needed on the Bangle.js to unpack data.
@DerGuteWolf 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.
I would suggest adding to the language selection in the language app a selection for the timezone and saving the next few changeover dates together with the amount of change together with the locale stuff.
custom.html could use https://momentjs.com/downloads/moment-timezone-with-data-10-year-range.min.js .
Usage: moment.tz.names(); would give all timezone names to select from (or two step selection with moment.tz.countries() and moment.tz.zonesForCountry(String); ), moment.tz.zone(String) gives the zone data for a selected name.
Either upload this zone data directly or use the packed format: https://momentjs.com/downloads/moment-timezone-utils.js provides moment.tz.pack(UnpackedZoneData)
From https://github.com/moment/moment-timezone/blob/d7f687ea598b205806decd83b78d3ea9ad11a569/moment-timezone.js#L48 to https://github.com/moment/moment-timezone/blob/d7f687ea598b205806decd83b78d3ea9ad11a569/moment-timezone.js#L136 is the code needed on the Bangle.js to unpack data.