-
Notifications
You must be signed in to change notification settings - Fork 2
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
@ljharb Stage 3 review #35
Comments
In https://tc39.es/proposal-canonical-tz/#sec-temporal-timezoneequals, I'd probably skip the early returns, and change step 9 to Otherwise, combined with the things mentioned in #33, LGTM! |
This commit consolidates early returns from TimeZoneEquals, per #35 (comment)
This commit consolidates early returns from TimeZoneEquals, per #35 (comment)
FYI: Temporal just merged an editorial PR to prepare for tc39/proposal-temporal#2607, which is the normative PR that limits offset time zones to minute precision. As a result, today a few links in the proposal-canonical-tz spec text were broken, and a few lines of the proposal spec needed updating. I just landed a PR that catches up this proposal's spec and polyfill with those upstream changes. Apologies for the churn! If you've already reviewed the rest of proposal-canonical-tz, please take a look at SystemTimeZoneIdentifier that has 2 changed lines + a new editor's note, and TimeZoneEquals that has 5 newly-changed lines. AFAIK there are no more changes expected (either here or upstream) before the Bergen meeting. |
https://tc39.es/proposal-canonical-tz/#sec-temporal-timezoneequals step 7 looks odd; "if x is not empty or y is not empty" reads strangely to me. It seems like the "if" branch will exclude a case where both are empty. Perhaps it would be clearer to have the "if" be "if x is empty and y is empty", and then have the rest of the AO be the case where one of them isn't empty? |
Do you think this text would work better?
|
I opened #40 to make the change recommended above. Please review. Thanks! |
This proposal reached Stage 3 at the July 2023 TC39 meeting. As decided in the meeting, the next step is to merge this proposal into Temporal Stage 3 via tc39/proposal-temporal#2633. Thanks for the reviews and for your support of this proposal! |
This is a tracking issue for @ljharb to review the Time Zone Canonicalization proposal spec at https://tc39.es/proposal-canonical-tz/#sec-canonical-tz-intro. Jordan, feel free to add feedback via comments here or open new issues, whichever is easiest.
The spec text is easiest to review as a web page rather than the raw spec text, because most of the text is just existing AOs with only one line changed. The total scope of changes is <20 lines + one prose paragraph.
Tests can be reviewed at tc39/test262#3837.
Thanks!
The text was updated successfully, but these errors were encountered: