@MaBe: I think you underestimate the complexities of international summer time rules. First for the southern hemisphere the changes should be otherway round. Second the change dates vary wildly. Third, not always 1 hour, there are also eg 2 hour changes.
@AkosLukacs: I think we could extend the locale html page (using the file from the link for the data) to also offer a timezone selection preset with the browsers current timezome and include in the locale data the next few changeover dates with their offests and names (perhaps in the compact format also available there). We still need to figure how to do the actual change, I think we would need another js file which should be executed at start and contains a setTimeout to do the change on time. I would also include a function to return the current time name.
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.
@MaBe: I think you underestimate the complexities of international summer time rules. First for the southern hemisphere the changes should be otherway round. Second the change dates vary wildly. Third, not always 1 hour, there are also eg 2 hour changes.
@AkosLukacs: I think we could extend the locale html page (using the file from the link for the data) to also offer a timezone selection preset with the browsers current timezome and include in the locale data the next few changeover dates with their offests and names (perhaps in the compact format also available there). We still need to figure how to do the actual change, I think we would need another js file which should be executed at start and contains a setTimeout to do the change on time. I would also include a function to return the current time name.