jQuery完整日历,所有事件显示为全天



Full Calendar的所有事件在议程视图中显示为"全天"。这是我用来初始化日历的代码:

$(document).ready(function() {
        $('#calendar').fullCalendar({
        header: {
            left: 'prev,next today',
            center: 'title',
            right: 'month,agendaWeek,agendaDay'
        },
            editable: false,
        events: 
                            [{start : $.fullCalendar.parseISO8601('2011-07-01T12:15:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-01T13:15:00-04:00', true) , title : 'Lunch Bunch!- Brookstreet BBQ' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-05T17:00:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-05T17:15:00-04:00', true) , title : 'Callback - Gene Cashman' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-06T17:00:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-06T17:15:00-04:00', true) , title : 'Callback - Jeff Turner' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-20T17:00:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-20T17:15:00-04:00', true) , title : 'Callback - Valley Kidney Center Default Contact' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-05T17:00:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-05T17:15:00-04:00', true) , title : 'Callback - Gene Cashman' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-01T09:00:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-01T09:15:00-04:00', true) , title : 'Callback - Sandra Wright' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-01T09:30:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-01T09:45:00-04:00', true) , title : 'c' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-01T15:30:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-01T15:45:00-04:00', true) , title : 'c' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-01T16:00:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-01T16:15:00-04:00', true) , title : 'Callback - Linda Cao' , allday : false} , {start : $.fullCalendar.parseISO8601('2011-07-05T09:00:00-04:00', true) , end : $.fullCalendar.parseISO8601('2011-07-05T09:15:00-04:00', true) , title : 'j' , allday : false}]              
        });
    });

我将继续使用ajax对日历的更多方面进行说明,但如果能对这个问题提供任何帮助,我们将不胜感激。

谢谢,

Emily

allDay应该有一个大写的D

它没有识别allday,这意味着它将变为默认值true

相关内容

  • 没有找到相关文章

最新更新