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: Next batch of minor editorial issues #3060

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Editorial: Next batch of minor editorial issues #3060

merged 3 commits into from
Dec 11, 2024

Conversation

ptomato
Copy link
Collaborator

@ptomato ptomato commented Dec 11, 2024

Closes: #3056, #3057, #3059

This is not in fact a string, but code points. We need to pass it through
CodePointsToString before giving it to ParseDateTimeUTCOffset.

h/t Anba

Closes: #3056
This removes some steps that can throw and therefore look observable, but
they were effectively dead code; the value stored in the [[TimeZone]]
internal slot is guaranteed to be a valid available time zone identifier.

h/t Anba

Closes: #3057
"matcher" is the locale matcher here, not the format matcher. We need to
pass "formatMatcher"; otherwise this breaks a type assertion in
AdjustDateTimeStyleFormat.

h/t Anba

Closes: #3059
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.74%. Comparing base (6800295) to head (b1216b2).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3060   +/-   ##
=======================================
  Coverage   95.73%   95.74%           
=======================================
  Files          21       21           
  Lines        9716     9712    -4     
  Branches     1742     1741    -1     
=======================================
- Hits         9302     9299    -3     
+ Misses        363      362    -1     
  Partials       51       51           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@Ms2ger Ms2ger left a comment

Choose a reason for hiding this comment

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

Thanks!

@Ms2ger Ms2ger merged commit 8acd353 into main Dec 11, 2024
10 checks passed
@Ms2ger Ms2ger deleted the editorial branch December 11, 2024 08:51
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.

ParseTimeZoneIdentifier: Missing call to CodePointsToString
2 participants