Code Monkey home page Code Monkey logo

Comments (3)

fakenickels avatar fakenickels commented on July 26, 2024 1

What do you think towards including https://github.com/andyearnshaw/Intl.js and offering bindings to it through re-date?

from rescript-date.

mobily avatar mobily commented on July 26, 2024

Hello @grsabreu, personally, I prefer to use the Intl API. It's supported by all modern browsers and I believe it's more accurate in formatting dates. I'm fully convinced this approach is simply better in multilingual projects.

However, it doesn't mean that we don't want format in re-date :) If you had a few moments to post your ideas on how to implement this, that would be great.

Useful links:
https://caniuse.com/#search=intl
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl

from rescript-date.

ashton avatar ashton commented on July 26, 2024

Hi, any news on this? I think this lib is much more elegant that any other that I'm using, but not having format is kinda bummer since it's probably the most used functionality (along with parse) when using a date lib

from rescript-date.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.