Temporal is coming! ✨ @igalia.com and Bloomberg did a lot of work on this! So pleased to see it arriving! developer.mozilla.org/en-US/blog/j...
Post
developer.mozilla.orgJavaScript Temporal is coming | MDN BlogA new way to handle dates and times is being added to JavaScript. Let's take a look at Temporal, what problems it solves, the current state, and what you'll find in the new documentation about it on M...
It's starting to roll out in experimental builds, here's a link to where it's talked about with further links to each browser's issue developer.mozilla.org/en-US/blog/j...
developer.mozilla.orgJavaScript Temporal is coming | MDN BlogA new way to handle dates and times is being added to JavaScript. Let's take a look at Temporal, what problems it solves, the current state, and what you'll find in the new documentation about it on M...
For V8 (Chromium's Javascript engine) support is currently behind a `--harmony-temporal` runtime flag. This works with, for example, @nodejs.org.
I tested that `--harmony-temporal` works as far back as 18, although support is dependent on V8 version so presumably support is better in later versions (i.e. Node.js 23). For example Node.js 18.20.2 crashes for some of the examples in developer.mozilla.org/en-US/blog/j....