Skip to content

FF149 Intl.DateTimeFormat supports islamic-umalqura calendar#29323

Open
hamishwillee wants to merge 2 commits intomdn:mainfrom
hamishwillee:ff149_intl_islamic-umalqura
Open

FF149 Intl.DateTimeFormat supports islamic-umalqura calendar#29323
hamishwillee wants to merge 2 commits intomdn:mainfrom
hamishwillee:ff149_intl_islamic-umalqura

Conversation

@hamishwillee
Copy link
Copy Markdown
Contributor

FF140 adds support for islamic-umalqura calendar in https://bugzilla.mozilla.org/show_bug.cgi?id=2011505. That means the option will appear in Intl.supportedValuesOf for the calendar option (console.log(Intl.supportedValuesOf("calendar"));) and can be used in the DataTimeFormat constructor like this:

const date = new Date();

const umAlQuraFormatter = new Intl.DateTimeFormat('en-u-ca-islamic-umalqura', {
  calendar: 'islamic-umalqura',
  dateStyle: 'full'
});

console.log(umAlQuraFormatter.format(date));

This PR is created to test whether BCD team wants to track support for languages and the other options - if you don't we can close this.
It updates the DataTimeFormat constructor to indicate the value is supported. Note that I didn't update supportedValuesOf() because it is not a compatibility break to not support the value there.

I tested on chrome and Safari for the other versions in browserstack.

Related docs work can be tracked in mdn/content#43203

@github-actions github-actions bot added data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript size:m [PR only] 25-100 LoC changed labels Mar 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 23, 2026

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@caugner
Copy link
Copy Markdown
Contributor

caugner commented Mar 27, 2026

This PR is created to test whether BCD team wants to track support for languages and the other options - if you don't we can close this.

I would say we can track this only if there are collector tests in place.

@caugner caugner added the meeting agenda Issues or pull requests in need of discussion in a project meeting. label Mar 27, 2026
@caugner caugner added the needs collector test Needs a custom BCD collector test label Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript meeting agenda Issues or pull requests in need of discussion in a project meeting. needs collector test Needs a custom BCD collector test size:m [PR only] 25-100 LoC changed

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants