react-big-schedule icon indicating copy to clipboard operation
react-big-schedule copied to clipboard

Typo on function call.

Open pmm26 opened this issue 1 year ago • 0 comments

Checklist

  • [X] I've verified that I'm running react-big-schedule latest version.

Describe the bug

Found while converting code to typescript.

Screenshot 2024-08-29 at 17 43 00

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

pmm26 avatar Aug 29 '24 16:08 pmm26