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

Update Date.prototype.toLocaleString for Android and Opera for Android #2039

Closed
Zacqary opened this issue May 16, 2018 · 2 comments · Fixed by #3909
Closed

Update Date.prototype.toLocaleString for Android and Opera for Android #2039

Zacqary opened this issue May 16, 2018 · 2 comments · Fixed by #3909
Labels
data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript

Comments

@Zacqary
Copy link
Contributor

Zacqary commented May 16, 2018

On https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString

screen shot 2018-05-16 at 12 06 28 pm

Notice that Firefox Android is marked as having no support for locales or options. However, testing http://jsbin.com/hovucawibe/edit?html,js,output on Firefox Android 60.0, which outputs the result of:

new Date().toLocaleString('en-us', { timeZone: 'America/New_York' })

produces the expected result.

I'd open a PR but I don't actually know which version of Firefox Android added support.

@Elchi3
Copy link
Member

Elchi3 commented May 17, 2018

It should be Firefox for Android 56, because this likely depends on the Intl API which was enabled in 56: https://bugzilla.mozilla.org/show_bug.cgi?id=1344625

Can you open the PR that changes these to 56? Thank you :)

@Elchi3 Elchi3 added the data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript label May 17, 2018
@ExE-Boss
Copy link
Contributor

ExE-Boss commented May 18, 2018

The information for normal Android and Opera for Android looks odd to me in that table, so let’s needinfo?⁠(@jpmedley) and keep this open for fixing Date.prototype.toLocaleString support information for all browsers.

@Elchi3 Elchi3 changed the title Date.prototype.toLocaleString not marked as fully supported in Firefox Android Update Date.prototype.toLocaleString for Android and Opera for Android May 22, 2018
@Elchi3 Elchi3 reopened this May 22, 2018
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 a pull request may close this issue.

3 participants