You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • Possible applications use for Bangle.js clocks with date.

    Like to continue this discussion , because there will be requests for something like

    Looking at the MDN docs there's a standard for Intl (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat) that I reckon could be implemented as a JS library reasonably easily?

    named in https://github.com/espruino/Espruino/issues/1703

    What about extend "DateFormatter" to pass names for your local days and month so it’s not blowing up the module.

    eg days and mons as long and/or short format

    days: "SundayMondayTuesdayWednesday...­", dayLen: 9 and equally for mons: "JanuaryFeburary_...", monLen: 9)

    To make a clock app very flexible, same code for all locales.
    it could be injected via app customized page eg Route Viewer

    What do you think about this idea?

About

Avatar for MaBe @MaBe started