Ok, looking at the ChangeLog 2v14 "Added block scoping for let and const (#971)". Assuming you're using the Bangle.js 1 version of the app you need to make sure time is declared within the right scope, currently it is scoped so it can't be called from where it's tried. I'll fix it on the repo now.
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.
Ok, looking at the ChangeLog 2v14 "Added block scoping for let and const (#971)". Assuming you're using the Bangle.js 1 version of the app you need to make sure
time
is declared within the right scope, currently it is scoped so it can't be called from where it's tried. I'll fix it on the repo now.