The End of Date Libraries? Exploring JavaScript's Built-in Temporal API
5 min read
1209 words
Working with date objects in Javascript can be quite a pain. That is why I
usually use a library like date-fns
for comparing, adding hours to my dates or
working with dates and times in general.
The TC39, which is the group of people who develop the definition of JavaScript, is working on the Temporal API. You can check out the proposal and documentation here.
With this, we no longer need date libraries, because the API itself is a breeze to work with.