• towerful@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months ago

    The date API is like the original rip of the Java date API. Barely changed, and totally backwards compatible nonsense.

    Temporal is the new JavaScript/ECMAScript date API.
    It’s stage 3, and likely stable (just a few kinks being worked out). So you could polyfill it for production.
    https://github.com/tc39/proposal-temporal