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
I have a user who's on an older version of Safari, and they're getting an error about Intl.ListFormat. Looking through the luxon source, it looks like it's coming from toHuman. Unfortunately, Intl.ListFormat isn't supported by older versions of safari. Here's the error message (manually typed from a screenshot):
TypeError: undefined is not a constructor (evaluating "new Intl.ListFormat(e, t)")
It looks like this was added to luxon fairly recently, here's the place in the source:
To Reproduce
Please share a minimal code example that triggers the problem:
I haven't been able to get a stack trace from our user, but here's where I think it's coming from:
Describe the bug
I have a user who's on an older version of Safari, and they're getting an error about Intl.ListFormat. Looking through the luxon source, it looks like it's coming from
toHuman
. Unfortunately,Intl.ListFormat
isn't supported by older versions of safari. Here's the error message (manually typed from a screenshot):It looks like this was added to luxon fairly recently, here's the place in the source:
luxon/src/impl/locale.js
Line 14 in c96b813
To Reproduce
Please share a minimal code example that triggers the problem:
I haven't been able to get a stack trace from our user, but here's where I think it's coming from:
Desktop (please complete the following information):
Additional context
CanIUse: https://caniuse.com/?search=intl.listFormat
This is also referenced here by this feature discussion: #688 (comment)
The text was updated successfully, but these errors were encountered: