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
Describe the bug
Interval.toLocaleString fails for Mobile Safari 14.0.3 with the error: TypeError: this.dtFormatter(e.start,n).dtf.formatRange is not a function. (In 'this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())', 'this.dtFormatter(e.start,n).dtf.formatRange' is undefined)
To Reproduce
Use Interval.toLocaleString in Mobile Safari 14.0.3
Example code:
This is an issue with the documentation, Interval#toLocaleString requires the browser to support Intl.DateTimeFormat#formatRange. iOS Safari only supports this starting with version 14.5.
Describe the bug
Interval.toLocaleString fails for Mobile Safari 14.0.3 with the error:
TypeError: this.dtFormatter(e.start,n).dtf.formatRange is not a function. (In 'this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())', 'this.dtFormatter(e.start,n).dtf.formatRange' is undefined)
To Reproduce
Use Interval.toLocaleString in Mobile Safari 14.0.3
Example code:
Actual vs Expected behavior
Actual: TypeError as described above
Expected: No error
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: