Fullcalendar日程视图和Day event不会在特定时间(小时)内呈现事件

Fullcalendar日程视图和Day event不会在特定时间(小时)内呈现事件,fullcalendar,renderer,dayofweek,Fullcalendar,Renderer,Dayofweek,我使用的是来自的Fullcalendar,我有搜索stackoverflow,但没有answear适合我的问题,或者我不明白。请粘贴链接,如果这已经是answear 我有一个返回事件的xml文件: 事件示例: <event allDay="false" editable="true" end="Mon Apr 29 2013 15:30:00 GMT+0100" id="53" start="Mon Apr 29 2013 08:30:00 GMT+0100" title="tesete"

我使用的是来自的Fullcalendar,我有搜索stackoverflow,但没有answear适合我的问题,或者我不明白。请粘贴链接,如果这已经是answear

我有一个返回事件的xml文件:

事件示例:

<event allDay="false" editable="true" end="Mon Apr 29 2013 15:30:00 GMT+0100" id="53" start="Mon Apr 29 2013 08:30:00 GMT+0100" title="tesete"/>
所有事件都正确地显示在月视图中,但当我切换到agendaView或dayView时,事件仅显示在全天栏中,它们不会在特定的小时之间呈现

 start="Mon Apr 29 2013 08:30:00 GMT+0100" end="Mon Apr 29 2013 15:30:00 GMT+0100" id="53"
例如从8:30到15:30

我错过了什么

问题的解决办法:

events: function(start, end, callback) {
            $.ajax({
                type: 'POST',
                url: 'myurl',
                dataType:'xml',
                crossDomain: true,
                data: {
                    // our hypothetical feed requires UNIX timestamps
                    start: Math.round(start.getTime() / 1000),
                    end: Math.round(end.getTime() / 1000),                      
                    'ajax':true,
                    'acc':'2',                      
                },
                success: function(doc) {                            
                    var events = [];
                    var allday = null; //Workaround 
                    $(doc).find('event').each(function() 
                    {               

                        if($(this).attr('allDay') == "false") //Workaround 
                                allday = false; //Workaround 
                        if($(this).attr('allDay') == "true") //Workaround 
                                allday = true; //Workaround                         

                        events.push({
                            id: $(this).attr('id'),
                            title: $(this).attr('title'),
                            start: $(this).attr('start'),
                            end: $(this).attr('end'),                       
                            allDay: allday,
                            editable: $(this).attr('editable')
                        });                             
                    });                                     
                    callback(events);
                }
            });     
        },

Var allDay不能是字符串。它应该是
allDay=false
没有引号

是的,但这是xml文件中的一个事件,因此属性值必须在引号中才能真正成为值。你是对的,我的朋友谢谢:),很抱歉,我是dumm:)这实际上也是:
events: function(start, end, callback) {
            $.ajax({
                type: 'POST',
                url: 'myurl',
                dataType:'xml',
                crossDomain: true,
                data: {
                    // our hypothetical feed requires UNIX timestamps
                    start: Math.round(start.getTime() / 1000),
                    end: Math.round(end.getTime() / 1000),                      
                    'ajax':true,
                    'acc':'2',                      
                },
                success: function(doc) {                            
                    var events = [];
                    var allday = null; //Workaround 
                    $(doc).find('event').each(function() 
                    {               

                        if($(this).attr('allDay') == "false") //Workaround 
                                allday = false; //Workaround 
                        if($(this).attr('allDay') == "true") //Workaround 
                                allday = true; //Workaround                         

                        events.push({
                            id: $(this).attr('id'),
                            title: $(this).attr('title'),
                            start: $(this).attr('start'),
                            end: $(this).attr('end'),                       
                            allDay: allday,
                            editable: $(this).attr('editable')
                        });                             
                    });                                     
                    callback(events);
                }
            });     
        },