the title really says it all. I’m trying to populate a fullcalendar widget through JSON. The generated JSON looks as follows, and it seems to be compliant to what fullcalendar expects.
Here’s an example of the generated JSON:
[
{
"color": "#FFDB58",
"start": "2012-03-05 10:00:00",
"end": "2012-03-05 10:30:00",
"id": 1,
"title": "event 1"
},
{
"color": "#6495ED",
"start": "2012-03-05 10:00:00",
"end": "2012-03-05 13:30:00",
"id": 2,
"title": "event 2"
}
]
(it is really output as one single line, I intended it here just for clarity).
The problem is: I can see the two events in the “month view”, and in the basicWeek and basicDay view. But in my web application I want to use the agendaWeek and agendaDay views, and those are empty.
How can I debug what is happening?
Thanks,
David
After some more investigation, it turned out that the JSON was missing
allDay: False(orTrue) — even if the docs say it’s optional, it seems like the agenda* views need it.