Re:You don't need libraries for internationalization of dates
by Aeolun on Thursday February 20, 2020 @05:12AM
(#22373992)
Moment is huge though.
[ Parent
| on HN ]
Re:You don't need libraries for internationalization of dates
by jamwaffles on Thursday February 20, 2020 @05:29AM
(#22374065)
I've used date-fns (https://date-fns.org/) with good success. The import structure allows for pretty good tree shaking. It's really good if you only want to format a date in like 2 places in a huge app - don't need to pull in the entire library for that.