-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JS API] Temporal #169
Comments
Looks like there are tests for this here: Looking at https://github.com/tc39/test262/commits/main/test/built-ins/Temporal, it looks like the test are mostly written by @Ms2ger @ptomato @FrankYFTang @jugglinmike. Perhaps they have feedback on whether this test suite is ready, and if the spec for Temporal is ready (enough). |
Initial implementations are ongoing and still turning up spec issues. I believe we're still aiming for stage 4 by the end of the year, and we're building up the test suite. I'm not sure if it would be useful to include in interop23, but it seems plausible that spec and tests will be in reasonable shape by next year. |
@Ms2ger would you advise against including it, or are you not sure, as you say? |
I have no strong feelings one way or the other |
Stage 4 for Temporal by EOY 2022 isn't possible, do you mean EOY 2023? |
Regarding the spec maturity, in the proposal template we only ask for Stage 2+ for TC39, and Temporal is currently Stage 3. Of course that doesn't by itself mean that implementers feel it's ready to ship in 2023, we'll use the proposal selection process to determine by consensus what to include and not. |
Temporal is a P1 interop project for Google's closure library. "Provides a path off of goog.date and Date, which are problematic APIs for numerous reasons (primarily mutability and lack of features)." |
In the MDN short survey on APIs & JavaScript, "Temporal API" was selected by ~18% of survey takers, putting it in the middle third of options. (There is some uncertainty as with any survey data.) |
Thank you for proposing Temporal for inclusion in Interop 2023. We wanted to let you know that this proposal was not selected to be part of Interop this year. The specification is still evolving, and integrating the test suite into WPT would be a significant undertaking. This should not be taken as a comment on the technology as a whole, and resubmitting a proposal for this feature as part of a future round of Interop would be welcome. For an overview of our process, see the proposal selection summary. Thank you again for contributing to Interop 2023! Posted on behalf of the Interop team. |
Description
Temporal seeks to solve problems with the existing JS Date APIs, namely:
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)
The text was updated successfully, but these errors were encountered: