Reputation: 61
This is the generated json data from PHP code, but I am not able to see the time ex. For a meeting event time, I am very new to this, if someone can give me solution would be a great help.
[{"title":"All Day Event","start":"2013-09-01T00:00:00+04:00","allDay":"true"},{"title":"Long Event","start":"2013-09-09T00:00:00+04:00","end":"2013-09-12T00:00:00+04:00","allDay":"true"},{"id":"999","title":"Repeating Event","start":"2013-09-11T16:00:00+04:00","allDay":"false"},{"id":"999","title":"Repeating Event","start":"2013-09-18T16:00:00+04:00","allDay":"false"},{"title":"Meeting","start":"2013-09-14T10:30:00+04:00","allDay":"false"},{"title":"Lunch","start":"2013-09-14T12:00:00+04:00","end":"2013-09-14T14:00:00+04:00","allDay":"false"},{"title":"Birthday Party","start":"2013-09-15T19:00:00+04:00","end":"2013-09-15T22:30:00+04:00","allDay":"false"},{"title":"Click for Google","start":"2013-09-29T00:00:00+04:00","url":"http:\/\/google.com\/","allDay":"false"}]
Upvotes: 2
Views: 1597
Reputation: 30993
I think the problem is because you are wrapping the allDay
option as string it must be boolean.
Ref: http://arshaw.com/fullcalendar/docs/event_data/Event_Object/
From docs:
Don't include quotes around your true/false. This value is not a string!
Fixed demo: http://jsfiddle.net/IrvinDominin/HbbfK/
Upvotes: 1