ECMAScript Temporal may soon land in Browsers
#67 · 2024-08-20 · JavaScript, TemporalTemporal is an ECMAScript proposal to add new date and time APIs to JavaScript.
It has been in the making for a long time by now. The proposal's repository appeared in 2017 and a lot of activity happened within the last four years. One topic that took a while was the IETF standardization of string formats used in zone annotations. But that has been completed at the end of 2023.
In mid 2024, a scope reduction was discussed at the meetings of TC39. Apparently, some implementors have reservations about the proposal's size and complexity. As a result, some parts of the proposal were removed and may be added in future proposals instead.
But now, finally, it looks like we may soon see Temporal within browsers and other JavaScript engines. Until recently, implementors were not allowed to ship Temporal implementations without hiding them behind a flag. But that restriction was removed from Temporal's README in January. And in the July meeting of TC39, it was noted that Temporal implementations may ship unflagged. Even better, the work-in-progress implementations of Temporal in SpiderMonkey (Firefox), V8 (Chrome), and JavaScriptCore (Safari) already pass many of the required feature tests.
- https://github.com/tc39/notes/pull/337
- https://github.com/tc39/notes/blob/c7ba9a7eb7ce502cdba1ff0d86581e84e1d4405f/meetings/2024-07/july-30.md#temporal-update--bug-fixes
One remaining open issue is the final normative specification text for ECMAScript Temporal, though. But we may already see first implementations and polyfills hopefully soon. Thanks to everybody involved in the process!