Thanks - good point re settings. I don't want to bloat the menu too much so I reckon I'll add a 'locale' page or something like that which handles this kind of stuff. I also just added an issue for the app manager - adding a newline should be trivial.
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.
Thanks - good point re settings. I don't want to bloat the menu too much so I reckon I'll add a 'locale' page or something like that which handles this kind of stuff. I also just added an issue for the app manager - adding a newline should be trivial.
There is a date format function but it seems non-standard: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleFormat
We have an issue open for some kind of formatting at https://github.com/espruino/Espruino/issues/1703 - but maybe it's better to just do it as a module