linkedlist:

JavaScript Temporal

#40 · (updated 2022-04-30) · JavaScript

Temporal is a JavaScript language proposal that is planned to supersede the built-in Date functionality. Temporal addresses some of the challenges that Date suffers from including its unusual API, lack of immutability, lack of support for date only or time only objects, and others. More information about the motivation for Temporal can be found in Fixing JavaScript Date.

Do you want to try Temporal (and give feedback)? Read Dates and Times in JavaScript.

The Temporal proposal is currently at Stage 3 of the TC39 Process. Implementors of the proposal must not yet ship Temporal without a feature flag as IETF standardization for string formats and time zone annotations are still undergoing. Even though Temporal's API is not expected to change, it is a measure to avoid incompatible APIs between specification and implementations.