Date
, JavaScript’s current date time API is infamously difficult to use. The ECMAScript proposal “Temporal” is a new and better date time API and currently at stage 3. It was created by Philipp Dunkel, Maggie Johnson-Pint, Matt Johnson-Pint, Brian Terlson, Shane Carr, Ujjwal Sharma, Philip Chimento, Jason Williams, and Justin Grant.
This blog post has two goals:
However, it is not an exhaustive documentation: For many details, you will have to consult the (excellent) documentation for Temporal.
Warning: These are my first explorations of this API – feedback welcome!
#javascript #api