Temporal
Notes
create polyfill publish polyfill (github & npm) invite feedback/reviews (bloomberg, google, moment, luxon, tag, public) incorporate feedback update stakeholders finalize specification tc39 stage review
Absolute
DateTime
Date
YearMonth
MonthDay
Time
TimeZone
Duration
Pro:
does not mandate basing on absolute or calendar time works when time-zone rules change
Con:
does not provide a practical all-round object
works when time-zone rules change provides all-round type
not inline with ISO-8601 which pins offset
coherent with ISO-8601 schema provides all-round type
fails when time-zone rules change
ZonedDateTime
ZonedAbsolute
provides full set of all-round types can work for most circumstances
unclear that there are decisions to be made easier to make bad assumptions
Drop combination type and encourage programmers to make explicit choices
We will continue under the premise of Temporal becoming a namespace object on the global.
Given that:
Intl
we feel like Temporal is not a good candidate for a first built-in module at thid time.
Biggest feedback: access to system information is required
How can we give access to current system date/time & time-zone, while still meeting the requirements of SES and other like implementations?
Balancing act between:
securing implementations / eliminating idiosynchatice timing leaks making the environment easy and useful to programmers
constructors are unable to expose system information group all functions exposing information make explicit all places that need mitigation
incorporate decisions & feedback release updated polyfill to npm request further community review finalize specification tc39 stage review / edit specification to reflect request tc39 stage advancement
(2019-10-31) incorporate decisions & feedback (2019-10-31) release updated polyfill to npm (2019-10-31) request further community review (2019-12-31) finalize specification (2019-12-31) tc39 stage review / edit specification to reflect (2020-02-04) request tc39 stage advancement
mermaid.js 12.1.0