Hmm, in emulator I get
>Uncaught Error: Function "getTimezoneOffset" not found!
at line 41 col 21
var tz = Date.getTimezoneOffset();
Another problem I run into changing timezone in E and resetting is to pull another Date is I have to pull Date 2 times and the minutes could be off (59 in one, 00 in other)....
© Espruino, powered by microcosm.
Report a problem