JS Built-ins
IntlDateTimeFormatintermediate

Supported Locales Of

πŸ“– Usage Example
const supported = Intl.DateTimeFormat.supportedLocalesOf(['en', 'de', 'xx']);
// ['en', 'de']

supportedLocalesOf() returns locales that can be formatted without fallback.

Use Intl.DateTimeFormat.supportedLocalesOf to check supported locales.

πŸ’‘ Hints (1)
  • β€’ Use Intl.DateTimeFormat.supportedLocalesOf(locales)