Home / Companies / Socket / Blog / Post Details
Content Deep Dive

Temporal API Ships in Chrome 144, Marking a Major Shift for JavaScript Date Handling

Blog post from Socket

Post Details
Company
Date Published
Author
Sarah Gooding
Word Count
640
Language
English
Hacker News Points
-
Summary

Chrome 144's release marks a significant milestone for JavaScript by introducing support for the Temporal API, a modern date and time system designed to replace the longstanding and problematic Date object. This update, praised by experts like TC39 delegate Rob Palmer, addresses many issues associated with the old system, such as mutability and time zone inconsistencies, by offering distinct types like PlainDate and ZonedDateTime, and ensuring operations return new values without mutating existing ones. Temporal has already been available in Firefox and is currently under development for Safari, showcasing increased collaboration among JavaScript engines and highlighting the reuse of the Rust-based temporal_rs library across multiple platforms. Despite its inclusion in major browsers, Temporal has not yet reached Stage 4 of the TC39 standardization process, with its formal addition to the ECMAScript standard anticipated in March 2026. Its adoption is expected to reduce reliance on third-party libraries previously used to circumvent Date's limitations, signaling a shift towards more reliable and explicit date and time handling in JavaScript.