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
@kossnocorp which browsers are supported? I see that longOffset isn't supported in Safari below 15.4 and Chrome below 95, for example, but can't find a compatibility table in the documentation.
@Perdolique Thanks for the tip on longOffset, I'm currently dealing with some production bugs due to this, as I didn't realize it would return NaN for browsers before that. I'm currently looking into formatjs for a polyfill approach, but I'm not sure the best way to actually test on one of these older browsers.
tz/src/tzOffset/index.ts
Lines 18 to 23 in 2139037
The problem is that the format function is not bound to the class. So if the implementation for format() uses this, it will fail at runtime.
We can see the issue, when we use the Time Travel Chrom Extension which is very useful for testing
possible fix would be
The text was updated successfully, but these errors were encountered: