-
Notifications
You must be signed in to change notification settings - Fork 108
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
Hebrew calendar - support or use a constant era? #535
Comments
I think we should use |
Context: in tc39/proposal-temporal#1245, I added eras to all calendars where the current |
This seems like something that will always be controlled by each implementation's underlying locale data. |
This is correct. It's out of scope for the Temporal spec. But we should decide what we want to do in the current polyfill where currently Hebrew and Chinese/Dangi have no eras. Should they have eras? Leave as-is? Should other calendars have no eras too? The current locale data we have access to via BTW, @cjtenny I've started opening up no-262-spec-impact issues that are solely dependent on locale data over in https://github.com/tc39/ecma402 instead of in the Temporal repo. I think it's OK to leave this issue here (unless @ptomato disagrees), but probably best to put future ones over there. |
I don't object to having it here, but do you mind if I move it over there so that they're all in one place? |
Personally, I'd prefer to move it so we can reduce noise and triage work in this repo. |
Ah? Don't think this calendar has ah just am Are you thinking of another calendar ? |
<calendar type="hebrew">
<calendarSystem type="lunisolar"/>
<eras>
<era type="0" start="-3760-10-7"/>
</eras>
</calendar> |
Ok now I see. Personally I think it could accept an era for orthogonality. Since an era could be visible. |
I think the question is what the |
@justingrant but by the same token, the gregorian calendar doesn't return a era in the default en-US locale either, although the era is AD. Similarly, for consistency, Hebrew should be AM. I don't see the purpose of |
(The suggestion for |
OK, hadn't heard that, but yes it did confuse me with anno hijri. AM is the usual way it is written in English (well, Latin) |
Context: tc39/proposal-temporal#1245 (comment)
Should the Hebrew calendar implementation consider a single era with value 'am' or 'ah', or should it not accept any era values?
cc @Manishearth, @justingrant
The text was updated successfully, but these errors were encountered: