To me, they look like they should be doing exactly the same thing in each case. I'd be really interested to know what happens if you pull up chrome devtools and type (new Date()).getTimezoneOffset()/-60 on your PC and whether that's different from the timezone you expect.
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.
Argh. Ok, that's interesting! Well, if you turn off
"Set Current Time"
in Communication Settings in the IDE, that should fix it.But I'm still confused... If you click
Set Time
in the Bangle.js App loader, is the time set correctly?Here are the two bits of code that set the time:
To me, they look like they should be doing exactly the same thing in each case. I'd be really interested to know what happens if you pull up chrome devtools and type
(new Date()).getTimezoneOffset()/-60
on your PC and whether that's different from the timezone you expect.