Well there were some changes to how writeJSON works, but it wasn't meant to have that effect. Sorry about that.
Either way I guess it wouldn't have worked exactly as you might expect from the code (you wouldn't get a Date back when reading). Maybe you could change the code that writes to ensure you do (new Date()).toISOString() which should be backwards compatible?
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.
Well there were some changes to how writeJSON works, but it wasn't meant to have that effect. Sorry about that.
Either way I guess it wouldn't have worked exactly as you might expect from the code (you wouldn't get a
Date
back when reading). Maybe you could change the code that writes to ensure you do(new Date()).toISOString()
which should be backwards compatible?And I'll see if I can get a fix in for writeJSON