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
99 stars 23 forks source link

Typo on function call. #149

Closed pmm26 closed 1 month ago

pmm26 commented 2 months 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

ansulagrawal commented 1 month ago

@pmm26 this has been fixed in version 4.4.1