FullCalendar "Calendar" Month View Starting from Current Day

I have a need to use the FullCalendar plugin's month view, but with a small twist... I need the month view to be a calendar month (4 weeks) from the currently selected date, not a month proper (Jan, Feb, etc). In other words, I need the top left column to be the currently selected date, with the calendar rendering 4 weeks after that in month view.

Something similar to what is provided by thefirstDay property in agendaWeek view is close to what I am after. firstDay only sets the day of the week though, not a specific date within the month as the first day.


If you're going to show a Thursday in the upper left hand corner then what you've got isn't a calendar. It's a table data.

FullCalendar's firstDay is just for switching between starting on a Monday (European style) and starting on a Sunday (US style).


Try

firstDay: new Date().getDay()

in the parameters.

链接地址: http://www.djcxy.com/p/81172.html

上一篇: 限制可选择一天

下一篇: FullCalendar“日历”月视图从当天开始