Fullcalendar: Is it possible if I would like to display today in the first cell of calendar in month view

194 Views Asked by At

I'm using the fullcalendar v4 and angular 8.

As current calendar feature, the month view always show the range of date in the month which is showing, it might have some date of previous month or next month due to 30 or 31 days for a month.

I would like to move today date to first cell of month view. For example: Today is 16 Dec 2020, so i would like the month view should start at 16 Dec 2020 and end at 16 Jan 2021 ( it means the 16 Dec 2020 would be at the first cell of calendar

1

There are 1 best solutions below

1
On

If you are talking about Full Calendar V4, then you should set showNonCurrentDates: false. It hides previous and next month's days and also does not pass the previous/next month's dates in the events URL.