javascriptfullcalendar

Is it possible to have a FullCalendar dayGridYear to span across the year break


For example, if I have the following:

visibleRange: {
        start: '2024-12-23',
        end: '2025-01-19'
        },   
validRange: {
        start: '2024-12-23',
        end: '2025-01-19'
        }

Then the dayGridYear only shows Dec 23 - Jan 5. For other times of the year, this kind of range of dates is not an issue, it appears to be a problem because it is spanning across the year.

I did a search, and couldn't find this documented as an issue anywhere.


Solution

  • I was able to resolve this by switching for dayGridYear to just dayGrid.