fullcalendar / fullcalendar-react

The official React Component for FullCalendar

Home Page:https://fullcalendar.io/docs/react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid date in dayHeaderContent args [only dateGridMonth]

maksymrudiuk opened this issue · comments

I have next bug.
The date arg in dayHeaderContent callback for dateGridMonth has weird value (1970 date)

Sandbox https://codesandbox.io/s/holy-rgb-r2nrg

Side-effect: If user has GMT with minus DayGridMonth has shifted days.

Since that header applies to multiple dates, it does not have a specific date, so the only data in date is the day of the week. There's an open issue regarding this:

fullcalendar/fullcalendar#5854

Please visit the above issue, give a 👍 to vote (?), press the 🔈Subscribe button to receive updates.