Skip to content
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

Editorial: Introduce an SDO for checking legacy time zone names #2606

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

gibson042
Copy link
Collaborator

I think I finally found a way to clean up the complexity of |TimeZoneIANAName| needing to support ASCII-case-insensitive matches of legacy time zone names. This PR introduces an IsLegacyIANATimeZoneName syntax-directed operation that checks against both the static list and the Etc/GMT±<UnpaddedHour> pattern, and also provides an explanatory note.

@gibson042 gibson042 force-pushed the 2023-06-islegacyianatimezonename branch from e2a97b3 to ac193fb Compare June 12, 2023 15:30
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Merging #2606 (e2a97b3) into main (d2b6d50) will not change coverage.
The diff coverage is n/a.

❗ Current head e2a97b3 differs from pull request most recent head ac193fb. Consider uploading reports for the commit ac193fb to get more accurate results

@@           Coverage Diff           @@
##             main    #2606   +/-   ##
=======================================
  Coverage   96.15%   96.15%           
=======================================
  Files          20       20           
  Lines       11480    11480           
  Branches     2170     2170           
=======================================
  Hits        11039    11039           
  Misses        377      377           
  Partials       64       64           

Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find, this is much clearer. Thanks!

@ptomato ptomato merged commit 8b94fd6 into tc39:main Jun 13, 2023
9 checks passed
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 18, 2023
…idermonkey-reviewers,mgaudet

Implement the changes from
- tc39/proposal-temporal#2600
- tc39/proposal-temporal#2604
- tc39/proposal-temporal#2606

Also moves `annotationValueComponent()` into the class, because it's both
simpler and faster than the previous implementation.

Depends on D182060

Differential Revision: https://phabricator.services.mozilla.com/D182061
ErichDonGubler pushed a commit to ErichDonGubler/firefox that referenced this pull request Jul 19, 2023
…idermonkey-reviewers,mgaudet

Implement the changes from
- tc39/proposal-temporal#2600
- tc39/proposal-temporal#2604
- tc39/proposal-temporal#2606

Also moves `annotationValueComponent()` into the class, because it's both
simpler and faster than the previous implementation.

Depends on D182060

Differential Revision: https://phabricator.services.mozilla.com/D182061
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jul 21, 2023
…idermonkey-reviewers,mgaudet

Implement the changes from
- tc39/proposal-temporal#2600
- tc39/proposal-temporal#2604
- tc39/proposal-temporal#2606

Also moves `annotationValueComponent()` into the class, because it's both
simpler and faster than the previous implementation.

Depends on D182060

Differential Revision: https://phabricator.services.mozilla.com/D182061

UltraBlame original commit: 2de7da340caaad8e668a54faa44ec24696453005
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jul 21, 2023
…idermonkey-reviewers,mgaudet

Implement the changes from
- tc39/proposal-temporal#2600
- tc39/proposal-temporal#2604
- tc39/proposal-temporal#2606

Also moves `annotationValueComponent()` into the class, because it's both
simpler and faster than the previous implementation.

Depends on D182060

Differential Revision: https://phabricator.services.mozilla.com/D182061

UltraBlame original commit: 2de7da340caaad8e668a54faa44ec24696453005
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Jul 21, 2023
…idermonkey-reviewers,mgaudet

Implement the changes from
- tc39/proposal-temporal#2600
- tc39/proposal-temporal#2604
- tc39/proposal-temporal#2606

Also moves `annotationValueComponent()` into the class, because it's both
simpler and faster than the previous implementation.

Depends on D182060

Differential Revision: https://phabricator.services.mozilla.com/D182061

UltraBlame original commit: 2de7da340caaad8e668a54faa44ec24696453005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants