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
I'm using timezone-mock to test that our time formatting works correctly in different timezones.
This worked fine with date-fns/tz 1.1.2 but when upgrading to 1.2.0 I get RangeError: Maximum call stack size exceeded error with the following stack trace:
RangeError: Maximum call stack size exceeded
at TZDate.MockDate.<computed> (node_modules/timezone-mock/index.js:78:37)
at TZDate.setTime (node_modules/@date-fns/tz/date/mini.cjs:52:28)
at TZDate.MockDate.<computed> (node_modules/timezone-mock/index.js:90:26)
at TZDate.setTime (node_modules/@date-fns/tz/date/mini.cjs:52:28)
at TZDate.MockDate.<computed> (node_modules/timezone-mock/index.js:90:26)
at TZDate.setTime (node_modules/@date-fns/tz/date/mini.cjs:52:28)
at TZDate.MockDate.<computed> (node_modules/timezone-mock/index.js:90:26)
at TZDate.setTime (node_modules/@date-fns/tz/date/mini.cjs:52:28)
...
I'm not sure if I should file the issue in date-fns/tz or timezone-mock but I'll start from here since the update of date-fns/tz caused the issue for me.
The text was updated successfully, but these errors were encountered:
I'm using timezone-mock to test that our time formatting works correctly in different timezones.
This worked fine with date-fns/tz 1.1.2 but when upgrading to 1.2.0 I get
RangeError: Maximum call stack size exceeded
error with the following stack trace:The minimum reproduction steps are:
Package versions used:
I'm not sure if I should file the issue in date-fns/tz or timezone-mock but I'll start from here since the update of date-fns/tz caused the issue for me.
The text was updated successfully, but these errors were encountered: