react-scheduler / react-big-schedule

React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React.
https://react-big-schedule.vercel.app/
MIT License
79 stars 18 forks source link

Typo on function call. #149

Open pmm26 opened 1 month ago

pmm26 commented 1 month ago

Checklist

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