Fullcalendar month time format like weeks
This question already has an answer here:
You want the displayEventEnd
option. It can be set globally or as view-specific.
//Globally
$('#calendar').fullCalendar({
displayEventEnd: 'true',
...
}
//View specific
$('#calendar').fullCalendar({
views: {
month: {
displayEventEnd: 'true',
}
},
...
}
Note that the event must actually have an end date or it won't be shown. JSFiddle with 3 different event types: {start,end},{start},{allday}
上一篇: Fullcalendar 1排2周视图