News for hackers. Stuff that matters.
Re:You may not need Moment.js by fake-news on Sunday September 19, 2021 @09:45AM (#28584280)
How is it any better or worse than Luxon? (I only ask because Moment recommends Luxon as is "spiritual successor", so I never bothered to evaluate date-fns. Should I?)
Re:You may not need Moment.js by iamsaitam on Sunday September 19, 2021 @12:06PM (#28585414)
You definitely should. date-fns is similar to the lodash/ramda, in the sense that it's a bag of functions which handle dates. This makes it very easy to compose different date handling situations.