I just tried exactly your code here (left it at xx:xx:xx:xx:xx:xx so it already rejects) and it works perfectly. Could be a stupid question, but are you sure the battery isn't flat?
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.
What does it do when it's rebooted?
I just tried exactly your code here (left it at
xx:xx:xx:xx:xx:xx
so it already rejects) and it works perfectly. Could be a stupid question, but are you sure the battery isn't flat?