Y
Hacker News
new
|
ask
|
show
|
jobs
by
scott_w
1934 days ago
I’ve usually used moment.js in the past (
https://momentjs.com/
).
2 comments
folkrav
1934 days ago
moment.js is in maintenance mode and the library authors themselves try to push people away to other libs[1]. Seems like most people have moved to date-fns or day.js. Moment authors seem to point to Luxon, which I didn't know about.
[1]
https://momentjs.com/docs/#/-project-status/
link
scott_w
1934 days ago
Yep, I was aware that they moved to maintenance mode but I mistakenly thought they were still good for new projects.
link
Brendinooo
1934 days ago
Either that or
https://date-fns.org/
link
[1] https://momentjs.com/docs/#/-project-status/