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
And since setTime called in the constructor, the following error happens in browser
dev.js:1102 Uncaught TypeError: this.setUTCTime is not a function
at UTCDate.setTime (mini.js:27:25)
at new UTCDateMini (mini.js:4:10)
at new UTCDate (index.js:16:8)
at parse (date.ts:7:63)
which make the lib completely unusable.
I have no idea what produces this code.
I'm using Typescript with "module": "NodeNext" and "moduleResolution": "NodeNext". The version of @date-fns/utc is 2.1.0
The text was updated successfully, but these errors were encountered:
After installing the package I got
date/mini.js
with the following contentThe problem is
Date
doesn't have methodsAnd since
setTime
called in the constructor, the following error happens in browserwhich make the lib completely unusable.
I have no idea what produces this code.
I'm using Typescript with
"module": "NodeNext"
and"moduleResolution": "NodeNext"
. The version of@date-fns/utc
is2.1.0
The text was updated successfully, but these errors were encountered: