News for hackers. Stuff that matters.
Re:Luxon – A library for working with dates and times in JS by tommikaikkonen on Saturday November 18, 2017 @02:41PM (#15730310)
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.
Re:Luxon – A library for working with dates and times in JS by spraak on Saturday November 18, 2017 @06:27PM (#15731271)
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.