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

TimeZoneName is not supported by Safari < 15.4 #14911

Closed
dilyanpalauzov opened this issue Feb 10, 2022 · 6 comments
Closed

TimeZoneName is not supported by Safari < 15.4 #14911

dilyanpalauzov opened this issue Feb 10, 2022 · 6 comments
Labels
data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript

Comments

@dilyanpalauzov
Copy link

https://caniuse.com/mdn-javascript_builtins_intl_datetimeformat_datetimeformat_options_parameter_options_timezonename_parameter says Intl.DateTimeFormat supports the TimeZoneName option for long time.

The release notes for Safari 15.4 beta at https://developer.apple.com/documentation/safari-release-notes/safari-15_4-release-notes state that this option is supported from this version on.

@queengooborg queengooborg added the data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript label Feb 10, 2022
@debiru
Copy link
Contributor

debiru commented Feb 22, 2022

Hi, I'm not a core committer, I'm just one reporter like you.

On this matter, take a look at this table.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#browser_compatibility

Safari originally supported the DateTimeFormat() constructor and options, and the new option values have been supported since.

The release notes for Safari 15.4 beta at https://developer.apple.com/documentation/safari-release-notes/safari-15_4-release-notes says "Supported the TimeZoneName option in Intl.DateTimeFormat.", it means that the new option is supported.

@dilyanpalauzov
Copy link
Author

@debiru
Copy link
Contributor

debiru commented Feb 22, 2022

If you were to modify something about this case, what would you think should be modified?

The reason I say this is this, I try to create a Pull Request from an Issue whenever possible, because it seems to be difficult to get a fix if you just create an Issue. If you have a suggestion that needs to be fixed, it might be easier for the core committers to respond if you mention it in an Issue.

@dilyanpalauzov
Copy link
Author

https://caniuse.com/mdn-javascript_builtins_intl_datetimeformat_datetimeformat_options_parameter_options_timezonename_parameter takes data from this repository, apparently, and does not show correct data. I cannot describe the problem better.

@debiru
Copy link
Contributor

debiru commented Feb 22, 2022

Hmm... I see. I was going to help fix this problem by my creating a pull request if I could find out what needs to be fixed. But I'm not sure, so I'll wait for someone more knowledgeable to come along who can tell us what we need to fix about this.

@queengooborg
Copy link
Contributor

This has been fixed by #14786!

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

No branches or pull requests

3 participants