[tz] Temporal - ECMAScript built-in JS Library for dates/times/timezones/calendars in progress

Bron Gondwana brong at fastmailteam.com
Mon Mar 8 09:54:04 UTC 2021


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 at fastmailteam.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20210308/26935a52/attachment-0001.html>


More information about the tz mailing list