title: Fullcalendar agenda view and Day event doesnt render events within specific time ( hours )
body: <p>I'm using Fullcalendar from <a href="http://arshaw.com/fullcalendar/" rel="nofollow">http://arshaw.com/fullcalendar/</a> , i have search stackoverflow but no answear fits my problem, or i didnt understood. Please paste links if this was already answear.</p>
  
  <p>I have a xml file that returns events:</p>
  
  <p>Event example:</p>
  
  <pre><code>&lt;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"/&gt;
  </code></pre>
  
  <p>if you notice the start and end day, the time format was saved like this.</p>
  
  <p>When i fetch the events like so:</p>
  
  <pre><code>events: function(start, end, callback) {
              $.ajax({
                  type: 'POST',
                  url: url,
                  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 = [];
                      $(doc).find('event').each(function() 
                      {
                          events.push({
                              id: $(this).attr('id'),
                              title: $(this).attr('title'),
                              start: $(this).attr('start'),
                              end: $(this).attr('end'),
                              allDay: $(this).attr('allDay'),
                              editable: $(this).attr('editable')
                          });                             
                      });                                     
                      callback(events);
                  }
              });     
          },
  </code></pre>
  
  <p>All events show up in the month view correctly, but when i switch to agendaView or dayView, the events are only in the allDay bar, they are not rendered between the specific hour.</p>
  
  <pre><code> start="Mon Apr 29 2013 08:30:00 GMT+0100" end="Mon Apr 29 2013 15:30:00 GMT+0100" id="53"
  </code></pre>
  
  <p>From 8:30 to 15:30 for example</p>
  
  <p>What am i missing?</p>
  
  <p>SOLUTION TO THE PROBLEM:</p>
  
  <pre><code>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);
                  }
              });     
          },
  </code></pre>