Skip to content
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

FF91: Intl.DateTimeFormat.prototype.formatRangeToParts() and formatRange #11497

Merged
merged 1 commit into from Jul 14, 2021

Conversation

hamishwillee
Copy link
Collaborator

FF91 ships Intl.DateTimeFormat.prototype.formatRange and Intl.DateTimeFormat.prototype.formatRangeToParts

This updates the BCD to indicate support in FF91 - tested using the code in the docs https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatRangeToParts

@github-actions github-actions bot added the data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript label Jul 13, 2021
@@ -496,7 +496,7 @@
"notes": "Before version 13.0.0, only the locale data for <code>en-US</code> is available by default. See <a href='https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat'>the <code>DateTimeFormat()</code> constructor</a> for more details."
},
"opera": {
"version_added": false
"version_added": "63"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I also tested this on Opera current version and it also works. Makes no sense to me this would work on opera android but not opera, and would not match Chrome. So I have marked this as going in the same/appropriate Blink version.

Copy link
Collaborator

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@queengooborg queengooborg merged commit 2c231b3 into mdn:main Jul 14, 2021
@hamishwillee hamishwillee deleted the ff91_intl_rangetoparts branch July 14, 2021 22:39
@hamishwillee
Copy link
Collaborator Author

Thanks for the quick review!!!!

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants