-
Notifications
You must be signed in to change notification settings - Fork 15
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
Calendar-Polyfill #34
Comments
Also, I tried checking support using Intl.supportedValuesOf(). While that isn't available by default, I did polyfill it through this npm library: https://formatjs.io/docs/polyfills/intl-supportedvaluesof It reported that it did have hebrew, so I tried the site. Here's the conflict. |
Hi @NightScript370, sorry about the troubles. temporal-polyfill scrapes out the calendar-data from Intl.DateTimeFormat, and it relies on the Chrome 80 is required unfortunately. I'll make sure to add this to the docs. You might be tempted to polyfill Intl.DateTimeFormat, but unfortunately FormatJS doesn't support anything other than iso/gregorian: |
I update the README to explain the higher browser requirements for non-ISO/gregory calendars: I've created a separate ticket for discussing how to polyfill this functionality: |
On Chrome 72, I am unable to use the Hebrew calendar. I get this error:
Uncaught RangeError: Invalid Calendar: hebrew
While I do not mind polyfilling it, I am not sure how to do so. Is there a way I could extract the current calendar configurations for use with the custom
Temporal.Calendar
?The text was updated successfully, but these errors were encountered: