Hacker News new | ask | show | jobs
by tommikaikkonen 3137 days ago
I've migrated a lot of code from moment to date-fns because of moment's bulky size and vast, mutable API. Luxon seems to fix the API issue. date-fns is still great for simple operations, but I'll definitely consider this for new projects with nontrivial datetime handling.
1 comments

Yes, mutation in Moment has burned me a few times before I realized that occurs.

Edit: wow, I just looked at the repo and realized its made by the Moment team. That might be pretty cool.