如何在足够日历的agendaWeek视图中显示持续15分钟的事件的结束时间?

时间:2016-12-19 06:56:26

标签: fullcalendar

See calendar view with 15 min event and 30 min event rendering end time differently under same setting

结束日期时间显示的是持续时间为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;
&#13;
&#13;

0 个答案:

没有答案