-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Labels
c: enumComponent: Enumerations, display namesComponent: Enumerations, display namess: commentStatus: more info is needed to move forwardStatus: more info is needed to move forward
Description
Are both "islamic" and "islamic-rgsa" still supported by Intl.DisplayNames?
js> new Intl.DisplayNames("en", {type: "calendar"}).of("islamic")
"Hijri Calendar"
js> new Intl.DisplayNames("en", {type: "calendar"}).of("islamic-rgsa")
"Hijri Calendar (Saudi Arabia, sighting)" If they are still supported, then https://github.com/tc39/test262/blob/main/test/intl402/Intl/supportedValuesOf/calendars-accepted-by-DisplayNames.js needs to be updated. This assertion checks that Intl.DisplayNames doesn't support any other calendars than the ones returned by Intl.supportedValuesOf. If Intl.supportedValuesOf no longer returns "islamic" and "islamic-rgsa", but Intl.DisplayNames still supports both identifiers, then the assertion will fail.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c: enumComponent: Enumerations, display namesComponent: Enumerations, display namess: commentStatus: more info is needed to move forwardStatus: more info is needed to move forward