Hey everyone,
Ran into a bit of a problem with FullCalendar today after setting up a JSON feed. My events were only appearing in the month view. This StackOverflow post explains that this is due to the fact that the allDay property wasn’t set.
Original JSON
[ "0", { "title": "Test event", "id": "821", "start": "2012-11-23 14:00:00", "end": "2012-11-23 15:00:00" }, "1", { "title": "Test event 2", "id": "822", "start": "2012-11-23 9:00:00", "end": "2012-11-23 10:00:00" }, "2", { "title": "Test event 3", "id": "823", "start": "2012-11-24 8:00:00", "end": "2012-11-24 6:00:00" }, "3", { "title": "Test event 4", "id": "824", "start": "2012-11-27 6:00:00", "end": "2012-11-27 7:00:00" } ]
Working JSON
[ "0", { "allDay": "", "title": "Test event", "id": "821", "start": "2012-11-23 14:00:00", "end": "2012-11-23 15:00:00" }, "1", { "allDay": "", "title": "Test event 2", "id": "822", "start": "2012-11-23 9:00:00", "end": "2012-11-23 10:00:00" }, "2", { "allDay": "", "title": "Test event 3", "id": "823", "start": "2012-11-24 8:00:00", "end": "2012-11-24 6:00:00" }, "3", { "allDay": "", "title": "Test event 4", "id": "824", "start": "2012-11-27 6:00:00", "end": "2012-11-27 7:00:00" } ]