Closed pmm26 closed 1 month ago
Found while converting code to typescript.
should be: .utcOffset(this.localeDayjs(new Date()).utcOffset(), true)
.utcOffset(this.localeDayjs(new Date()).utcOffset(), true)
utcOffset is not a function on a Date object.
none
Any
4.4.0
Also the Types files in the latest version doesn't even match the code. bruhh
@pmm26 this has been fixed in version 4.4.1
Checklist
Describe the bug
Found while converting code to typescript.
should be:
.utcOffset(this.localeDayjs(new Date()).utcOffset(), true)
utcOffset is not a function on a Date object.
Reproduction Link/Code
none
Steps to reproduce
none
Operating System
Any
Browser
none
React version
none
react-big-schedule version
4.4.0
Additional Information
Also the Types files in the latest version doesn't even match the code. bruhh