Fullcalendar month time format like weeks

This question already has an answer here:

  • Fullcalendar Displaying the end time of an event 1 answer

  • 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}

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

    上一篇: Fullcalendar 1排2周视图

    下一篇: Fullcalendar月份时间格式与周一样