I don't think I've touched that code in ages, but honestly I can't see how that ever would have provided a valid time with USE_RTC not set?
USE_RTC is only set for the Espruino boards, because it's more complex and is basically pointless unless the uC is going to go into sleep mode (and there's no point on the other boards because most of them draw too much power).
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.
Hmm, that is a strange one. I'm not really sure why that would have fixed it.
Is it me, or does this look broken to you?
I don't think I've touched that code in ages, but honestly I can't see how that ever would have provided a valid time with USE_RTC not set?
USE_RTC is only set for the Espruino boards, because it's more complex and is basically pointless unless the uC is going to go into sleep mode (and there's no point on the other boards because most of them draw too much power).