Looks like there's a unit mismatch - the timezone should be in hours, but the function that was used to get it in the web browser returned minutes. I've fixed this now but it won't be available until I do a new IDE release.
In the mean time, adding E.setTimeZone(your_timezone) right at the top of your code should fix it.
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.
Thanks for letting me know!
Looks like there's a unit mismatch - the timezone should be in hours, but the function that was used to get it in the web browser returned minutes. I've fixed this now but it won't be available until I do a new IDE release.
In the mean time, adding
E.setTimeZone(your_timezone)
right at the top of your code should fix it.