-
Notifications
You must be signed in to change notification settings - Fork 145
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
Should built-in calendars of non-Intl implementations be limited to "iso8601"? #2192
Comments
I'm pretty sure Intl shouldn't have any powers that hosts don't have. |
In the other thread you mentioned that I think we could solve this by adding language to these operations that approximately says "this is the minimal implementation for hosts that don't include ECMA-402", like we do for time zones. The complication that I'd like to avoid is having a similar situation as #1996 but for calendars instead of time zones. I think we can avoid this by forbidding implementations from supporting non-UTS-35 calendars, and saying that any UTS-35 calendars that they do support must be subject to the same specifications as described in ECMA-402. |
Right, my suggestion at #2155 (comment) was
|
We have a spec PR to consider, #2193 I wouldn't be opposed to this, although do we have any implementations that are likely to be in this in-between space? |
These were previously marked as being specified for "non-402" implementations, which is no longer accurate after #2192 which made it possible for non-402 implementations to support additional CLDR calendars. This made the "Assert: _calendar_.[[Identifier]]" steps invalid. Change the description of the methods so that they are the "minimal" specification for implementations which only support iso8601. Closes: #2384
These were previously marked as being specified for "non-402" implementations, which is no longer accurate after #2192 which made it possible for non-402 implementations to support additional CLDR calendars. This made the "Assert: _calendar_.[[Identifier]]" steps invalid. Change the description of the methods so that they are the "minimal" specification for implementations which only support iso8601. Closes: #2384
It seems strange to me that an ECMA-262 implementation is prohibited from supporting e.g. "gregory" or "islamicc" calendars unless it also implements all requirements of ECMA-402, but that is the current state of https://tc39.es/proposal-temporal/#sec-temporal-isbuiltincalendar .
The text was updated successfully, but these errors were encountered: