2 ms·
FYI, the Moment.js docs recommend not using Moment.js[0] > We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, bu
by CharlieDigital 2y ago
FYI, the Moment.js docs recommend not using Moment.js[0]
> We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done.
The author spells out a few pitfalls of Moment's design and why they're not addressing these as well as alternatives (Luxon, Day.js, date-fns, js-Joda)
I've switched to Day.js instead[1]
[0] https://momentjs.com/docs/#/-project-status/ https://momentjs.com/docs/#/-project-status/
[1] https://day.js.org/ https://day.js.org/
- jjice 2y agoOh thanks for the rec! I was aware that Moment was marking itself as legacy, but Day.js looks like a bonus here. Hopefully we can begin making the Temporal transition over the next few years though.