-
Notifications
You must be signed in to change notification settings - Fork 157
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
'era' belongs in the domain of ECMA-402 #1055
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1055 +/- ##
==========================================
+ Coverage 94.53% 94.60% +0.07%
==========================================
Files 18 18
Lines 6768 6764 -4
Branches 1124 1120 -4
==========================================
+ Hits 6398 6399 +1
+ Misses 362 358 -4
+ Partials 8 7 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Sorry for the noise, I didn't mean to file this one yet. It needs #901 to go in first. |
Thanks for the change. I'm not sure how this should look in the spec. I guess that's a general question about how we go about specing the 402 calendars. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's hold off on landing this until we have replacement spec text in the intl section.
73b49de
to
cb036ae
Compare
These intrinsics are defined in the spec, but were not yet needed in the polyfill, so hadn't been defined. They will be needed in order for the ECMA-402 calendars to define custom calendar properties on %Temporal.Date.prototype%, for example.
This removes era from Temporal proper, and defines it only the first time a calendar that uses it is constructed. This is in line with era and other custom calendar properties being the domain of ECMA-402. Closes: #1046
cb036ae
to
e03c0a7
Compare
What would need to change in order to land this? If it's full specs for the calendars in the Intl section, then I'm not sure I agree — that may take some time, and I wouldn't want to keep the incorrect |
Closes: #1046