Skip to content

Conversation

@FrankYFTang
Copy link
Contributor

The defintion of AvailableCalendars in https://tc39.es/proposal-intl-era-monthcode/#sup-availablecalendars is "The List must include the Calendar Type value of every row of Table 1, except the header row." It does said it ONLY include those listed in that Table. so the return list may also include "islamic" and "islamic-rgsa" and therefore the test is incorrect.

so we should get availableCalendars from calling Intl.supportedValuesOf("calendar") instead

@ben-allen @sffc

@FrankYFTang FrankYFTang requested a review from a team as a code owner November 18, 2025 20:56
The defintion of AvailableCalendars in https://tc39.es/proposal-intl-era-monthcode/#sup-availablecalendars
is "The List must include the Calendar Type value of every row of Table 1, except the header row." It does said it ONLY include those listed in that Table. so the return list may also include "islamic" and "islamic-rgsa" and therefore the test is incorrect.

so we should get availableCalendars from calling Intl.supportedValuesOf("calendar") instead
@ptomato
Copy link
Contributor

ptomato commented Nov 19, 2025

I need to think about this, if it's still possible to write a meaningful test for this feature at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants