FYI - this is going to be discussed at the DISPATCH session at IETF110, which is starting in a couple of hours. I didn't notice this email until just now. Cheers, Bron. On Fri, Mar 5, 2021, at 04:27, Jase Williams via tz wrote:
Hi
I'm one of the TC39 (EcmaScript) delegates. As a heads up to anyone interested, we're creating a new built-in module in JavaScript (to hopefully replace Date()) called Temporal. This new, rich API includes:
- First-class support for all time zones, including DST-safe arithmetic - Strongly-typed objects for dates, times, date/time values, year/month values, month/year values, "zoned" date/time values, and durations - Immutability for all Temporal objects - String serialization and interoperability via standardized formats - Compliance with industry standards like ISO 8601, RFC 3339, and RFC5545 (iCalendar) - Full support for non-Gregorian calendars
Feel free to play around with it and offer feedback on the repo.
The repository is here: https://github.com/tc39/proposal-temporal
Documentation here: https://tc39.es/proposal-temporal/docs/index.html
Polyfill here: https://github.com/tc39/proposal-temporal/tree/main/polyfill
EcmaScript spec: https://tc39.es/proposal-temporal/
It's currently Stage 2 which means it's under review, but there's hope to see this implemented in Browsers/NodeJS soon.
For consideration in tz-link.html. Feel free to adjust wording
Project: https://github.com/tc39/proposal-temporal NPM: https://www.npmjs.com/package/proposal-temporal
Thanks Jason Williams
-- Bron Gondwana, CEO, Fastmail Pty Ltd brong@fastmailteam.com