我正在使用FullCalendar API(v2.2.0)。我初始化我的日历:
$('#calendar').fullCalendar({
theme: true,
lang: 'fr',
header: {
left: 'prev,next, today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
slotDuration: '00:10:00',
defaultView: 'agendaDay',
eventLimit: true,
editable: false,
eventOverlap: false,
events: jsonArr,
axisFormat: 'H:mm',
timeFormat: 'H:mm'
});