Skip to content

Normative: Remove fallback paths in CalendarFields and CalendarMergeFields#2467

Merged
ptomato merged 3 commits intotc39:mainfrom
Aditi-1400:temporal-2310
Feb 11, 2023
Merged

Normative: Remove fallback paths in CalendarFields and CalendarMergeFields#2467
ptomato merged 3 commits intotc39:mainfrom
Aditi-1400:temporal-2310

Conversation

@Aditi-1400
Copy link
Copy Markdown
Collaborator

@Aditi-1400 Aditi-1400 commented Jan 9, 2023

Fixes: #2310

Also renames DefaultMergeCalendarFields to ISOMergeCalendarFields since it is no longer a default.

@Aditi-1400 Aditi-1400 requested a review from ptomato January 9, 2023 10:59
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 9, 2023

Codecov Report

Merging #2467 (22b12f2) into main (1cfb246) will decrease coverage by 0.04%.
The diff coverage is n/a.

❗ Current head 22b12f2 differs from pull request most recent head 2baf7fe. Consider uploading reports for the commit 2baf7fe to get more accurate results

@@            Coverage Diff             @@
##             main    #2467      +/-   ##
==========================================
- Coverage   94.97%   94.94%   -0.04%     
==========================================
  Files          20       20              
  Lines       10907    10891      -16     
  Branches     1998     1954      -44     
==========================================
- Hits        10359    10340      -19     
- Misses        487      504      +17     
+ Partials       61       47      -14     
Impacted Files Coverage Δ
polyfill/lib/intl.mjs 97.82% <0.00%> (-1.98%) ⬇️
polyfill/lib/plainmonthday.mjs 95.71% <0.00%> (-1.97%) ⬇️
polyfill/lib/plainyearmonth.mjs 96.92% <0.00%> (-1.44%) ⬇️
polyfill/lib/plaindate.mjs 98.71% <0.00%> (-0.96%) ⬇️
polyfill/lib/ecmascript.mjs 98.28% <0.00%> (-0.03%) ⬇️
polyfill/lib/zoneddatetime.mjs 99.82% <0.00%> (+<0.01%) ⬆️
polyfill/lib/plaindatetime.mjs 97.92% <0.00%> (+0.68%) ⬆️
polyfill/lib/duration.mjs 97.51% <0.00%> (+1.47%) ⬆️
polyfill/lib/plaintime.mjs 100.00% <0.00%> (+1.73%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
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.

Looks good, one suggestion for conciseness!

Needs an implementation in the reference polyfill, feel free to add it to this PR or open a separate one.

Comment thread spec/calendar.html Outdated
Comment thread spec/calendar.html Outdated
@ptomato ptomato requested a review from gibson042 January 9, 2023 18:39
@ptomato
Copy link
Copy Markdown
Collaborator

ptomato commented Jan 9, 2023

Marking as draft until presented at TC39.

@ptomato ptomato marked this pull request as draft January 9, 2023 18:40
@ljharb
Copy link
Copy Markdown
Member

ljharb commented Jan 9, 2023

What's the benefit to removing the fallback paths?

Comment thread spec/calendar.html
@ptomato
Copy link
Copy Markdown
Collaborator

ptomato commented Jan 13, 2023

What's the benefit to removing the fallback paths?

See #2310.

@Aditi-1400 Aditi-1400 force-pushed the temporal-2310 branch 2 times, most recently from 73bb98f to b077a33 Compare January 23, 2023 11:59
Copy link
Copy Markdown
Member

@gibson042 gibson042 left a comment

Choose a reason for hiding this comment

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

Spec changes look good. Are we planning on updating the polyfill in this PR as well?

@Aditi-1400
Copy link
Copy Markdown
Collaborator Author

Test262 updates: tc39/test262#3785

@ptomato ptomato marked this pull request as ready for review February 11, 2023 01:46
@ptomato
Copy link
Copy Markdown
Collaborator

ptomato commented Feb 11, 2023

This got consensus at the 2023-01-31 TC39 plenary meeting, and the test262 tests are now in place. Thanks!

@ptomato ptomato merged commit ea1b491 into tc39:main Feb 11, 2023
ptomato added a commit that referenced this pull request Feb 16, 2023
This was a rebase error on my part when merging in #2467. My bad!
ptomato added a commit that referenced this pull request Feb 18, 2023
This was a rebase error on my part when merging in #2467. My bad!
ptomato added a commit that referenced this pull request Feb 27, 2023
This was a rebase error on my part when merging in #2467. My bad!
ptomato added a commit that referenced this pull request Mar 6, 2023
This was a rebase error on my part when merging in #2467. My bad!
justingrant pushed a commit to justingrant/proposal-temporal that referenced this pull request Mar 11, 2023
This was a rebase error on my part when merging in tc39#2467. My bad!
ptomato added a commit that referenced this pull request Apr 7, 2023
This was a rebase error on my part when merging in #2467. My bad!
ptomato added a commit that referenced this pull request Apr 7, 2023
This was a rebase error on my part when merging in #2467. My bad!
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.

Consider removing fallback paths in CalendarFields and CalendarMergeFields

4 participants