News for hackers. Stuff that matters.
Re:Dates and Times in JavaScript – A New API for Dates from ... by eropple on Thursday July 09, 2020 @02:47PM (#23783609)
Huh - thanks for the link. The Moment folks also have Luxon, which I've been using, but there's quite a lot more momentum behind date-fns.
Re:Dates and Times in JavaScript – A New API for Dates from ... by Drdrdrq on Thursday July 09, 2020 @04:34PM (#23784841)
Or give day.js a try. It is basically moment.js without its problems, and pretty popular too. I tried date-fns but found it cumbersome to use... Ymmv.