this post was submitted on 31 Jul 2023
3 points (71.4% liked)
JavaScript
32 readers
1 users here now
Place for discussing all things related to the Javascript. This category can be used to ask for help with specific problems, share tips and tricks for working with js, and discuss new developments and best practices in the world of Javascript programming.
founded 2 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
GOD the date library in Javascript is atrocious, genuinely it is borderline useless. God bless momentjs
@candyman337
Momentjs is deprecated and discouraged to use in production. Temporal is something to go to in future.
https://www.youtube.com/watch?v=oOK3UzLJ_Cs
List of alternatives to momentjs from momentjs' team:
https://momentjs.com/docs/#/-project-status/recommendations/
I belive day js uses all the same functions or was that luxon?
Yeah I know, but it was so good, I should have mentioned that though, so thanks for linking alternatives!