You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when using an IANA time zone database identifier as indicated under Parameters, IE11 throws a RangeError that the option value for 'timeZone' is outside of valid range. Expected: ['UTC'].
It would be helpful to know that IE does not support those time zones as options.
I am not sure if this should be listed as a separate property, like options.timeZone.IANAzones or similar label. I am inclined against making a pull request to change the data directly on options because of the permissive implementation language (The only value implementations must recognize is "UTC"...Implementations may also recognize the time zone names of the IANA time zone database, such as Asia/Shanghai, Asia/Kolkata, America/New_York"). Therefore I don't think it would be fair to say IE is out of standard. However, it would be very helpful to know they haven't fully implemented that aspect of options.
This line reports that the
options
in toLocaleString is implemented as of IE11.However, when using an IANA time zone database identifier as indicated under Parameters, IE11 throws a
RangeError
that theoption value for 'timeZone' is outside of valid range. Expected: ['UTC']
.It would be helpful to know that IE does not support those time zones as options.
I am not sure if this should be listed as a separate property, like options.timeZone.IANAzones or similar label. I am inclined against making a pull request to change the data directly on
options
because of the permissive implementation language (The only value implementations must recognize is "UTC"...Implementations may also recognize the time zone names of the IANA time zone database, such asAsia/Shanghai
,Asia/Kolkata
,America/New_York
"). Therefore I don't think it would be fair to say IE is out of standard. However, it would be very helpful to know they haven't fully implemented that aspect ofoptions
.Related: #4162 ("Require notes for partial_implementation").
The text was updated successfully, but these errors were encountered: