Hacker News new | ask | show | jobs
by flipchart 2176 days ago
I'm using React Widgets[0] and I prefer moment over Globalize (been through so much pain with this). Maybe it's time to either write a localizer for Luxor or find a new date time picker

[0]: https://jquense.github.io/react-widgets/localization/

1 comments

Depending on your specific needs [0], a lot of date localization can be done (painfully, but possibly) directly with Browser Intl [1] calls instead of a library.

[0] Current user's current locale is easy. If for some reason you need to show some other locale than what the browser is using you'll likely still need Moment or Globalize.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...