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: Small batch of changes #3091

Merged
merged 4 commits into from
Feb 25, 2025
Merged

Editorial: Small batch of changes #3091

merged 4 commits into from
Feb 25, 2025

Conversation

ptomato
Copy link
Collaborator

@ptomato ptomato commented Feb 15, 2025

  • Add %Temporal% to list of well-known intrinsics
  • Update test262 tests
  • Fix a few nonconformances in the reference code pointed out by @anba

Copy link

codecov bot commented Feb 15, 2025

Codecov Report

Attention: Patch coverage is 58.33333% with 10 lines in your changes missing coverage. Please review.

Project coverage is 96.05%. Comparing base (ed4f930) to head (9373633).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
polyfill/lib/intl.mjs 44.44% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3091      +/-   ##
==========================================
- Coverage   96.14%   96.05%   -0.10%     
==========================================
  Files          21       21              
  Lines        9929     9951      +22     
  Branches     1801     1802       +1     
==========================================
+ Hits         9546     9558      +12     
- Misses        336      346      +10     
  Partials       47       47              

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

The strategy of caching the output of DTF resolvedOptions() failed in the
case of hour12/hourCycle, because those options are silently dropped if
the chosen format does not include an hour component. Manually add them to
the cached resolvedOptions object if the user included them.

See: #3065
https://tc39.es/proposal-temporal/#sec-temporal-parsetemporalcalendarstring
ParseTemporalCalendarString specifies to try to parse the string as
TemporalDateTimeString[+Zoned], TemporalDateTimeString[~Zoned],
TemporalInstantString, TemporalTimeString, TemporalMonthDayString, and
TemporalYearMonthString consecutively until one succeeds. I always thought
TemporalTimeString would be handled by ParseISODateTime in the polyfill,
but it seems I was wrong about that.

See: #3090
Adjusting the options to not print the time zone name in timeStyle long or
full (#2795) inadvertently regressed formatting a PlainDateTime with both
dateStyle and timeStyle specified.

See: #3061
@ptomato ptomato merged commit 726becd into main Feb 25, 2025
10 checks passed
@ptomato ptomato deleted the editorial branch February 25, 2025 00:21
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.

2 participants