News for hackers. Stuff that matters.
Re:Temporal: Getting started with JavaScript's new date time... by enlyth on Monday June 28, 2021 @12:59PM (#27664396)
I've been very happy with date-fns, picked it up after hearing good feedback from others: https://date-fns.org/
Re:Temporal: Getting started with JavaScript's new date time... by spacehunt on Tuesday June 29, 2021 @04:18AM (#27673238)
date-fns's insistence on using the native Date object makes handling timezones horrible and error-prone though. Luxon is much better in this regard.
Re:Temporal: Getting started with JavaScript's new date time... by trulyme on Monday June 28, 2021 @05:25PM (#27668355)
I found its interface inconsistent and unintuitive, especially compared to moment.js and day.js. Still better than Date though. :)