Skip to content

[JS API] Temporal #169

@legowerewolf

Description

@legowerewolf

Description

Temporal seeks to solve problems with the existing JS Date APIs, namely:

  1. No support for time zones other than the user’s local time and UTC
  2. Parser behavior so unreliable it is unusable
  3. Date object is mutable
  4. DST behavior is unpredictable
  5. Computation APIs are unwieldy
  6. No support for non-Gregorian calendars

https://maggiepint.com/2017/04/09/fixing-javascript-date-getting-started/

Rationale

The proliferation of date-and-time handling libraries should be sufficient evidence that the current state of built-in datetime handling APIs is not up to snuff.

Specification

https://github.com/tc39/proposal-temporal

Tests

https://test262.report/browse/built-ins/Temporal (thanks @foolip)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions