结束日期时间显示的是持续时间为30分钟或更长时间的事件,但不会显示15分钟的事件。我已经使用了displayEventEnd和所有timeFormat的东西,但它只适用于持续时间超过15分钟的插槽。
这是我的日历代码
$('#calendar').fullCalendar({
header: {
right: 'prev,next , agendaWeek,month'
},
ignoreTimezone: false,
lang: 'de',
timezone: 'Europe/Berlin',
defaultDate: "<?php echo date('Y-m-d')?>",
selectable: selectable_appointment,
selectHelper: true,
eventTextColor: 'black',
allDaySlot: false,
allDay: false,
views: {
agendaWeek: {
displayEventTime: true,
displayEventEnd: true
}
},
timeFormat: {
week: 'H:mm',
'': 'H:mm-{H:mm}'
},
aspectRatio: 1,
handleWindowResize : true,
height: mainWrapperHeight,
scrollTime : "08:00:00",
defaultView: 'agendaWeek',
slotDuration: '00:15:00',
selectConstraint: 'businessHours',
eventConstraint: 'businessHours',
slotEventOverlap : false
...
});
&#13;