Fullcalendar - not showing time of events
I'm developing a list of scheduled events using Fullcalendar, and everything is working fine, except it thinks every event is an all day event.
The code is as follows:
- <script type='text/javascript'>
-
- $(document).ready(function() {
- $('#calendar').fullCalendar({
- showAgendaButton: true,
- columnFormat: { month: 'ddd', week: 'ddd d/M', day: 'dddd d/M' },
- timeFormat: 'H:mm',
- axisFormat: 'H:mm',
- header: {
- left: 'prev,next today',
- center: 'title',
- right: 'month,agendaWeek,agendaDay'
- },
- editable: true,
- events: '/ajax/scheduled-messages.php'
- });
- });
- </script>
- <div id="calendar"></div>
And the returned json is:
- [
- {
- id: "111785373",
-
title:
"Meet with bob
",
- start: "1359561600",
- allday: false
- }
- ]
What it shows is purely "Meet with Bob", and when you got to a week or day view, it shows the event as allday....
What have I configured wrongly?!
Thanks
Nunners