gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 06:16:08 26 4
gpt4 key购买 nike

完整日历的所有事件在议程 View 中均显示为“全天”。这是我用来初始化日历的代码:

$(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 来处理日历的更多方面,但我们将不胜感激任何有关此问题的帮助。

谢谢

艾米丽

最佳答案

allDay 应该大写 D

它无法识别allday,这意味着它会变为默认值true

关于jQuery 完整日历,所有事件显示为全天,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6576271/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com