像其他人一样,我在将定时事件显示在议程周视图上时遇到问题。如果您查看下面的事件,前两个是我的,并且显示为全天事件。最后一个来自文档,并显示在正确的时间块中。我一直盯着这个看太久了,我确定我错过了一些简单的东西。其他人可以看到吗?
$(document).ready(function() {
$("#calendar").fullCalendar({
defaultView: 'agendaWeek',
month:0,//current year assumed, first day of month assumed
date: 4,
height: 650,
header: {left: 'title',center:'agendaWeek'},
events: [
{
title : 'Fred',
start : '2010-01-04 08:00:00',
end : '2010-01-04 09:00:00',
allday : false
},
{
title : 'Betty',
start : '2010-01-06 08:00:00',
allday : false
},
{
title : 'event3',
start : '2010-01-05 12:30:00',
allDay : false // will make the time show
}
]
});
});
</script>