@allObjects: wow - great stuff - looks like you coded your own date.js and more ;-)
my intention is to code a small and simple helper to get a human readable date/time
a little change for a shorter the length checker:
//var HH = this.getHours().toString(); //HH = HH.length > 1 ? HH : '0' + HH; var HH = ("0"+this.getHours().toString()).slice(-2);
@MaBe started
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.
@allObjects: wow - great stuff - looks like you coded your own date.js and more ;-)
my intention is to code a small and simple helper to get a human readable date/time
a little change for a shorter the length checker: