php - Fullcalendar start and end date no picking -


i trying implement full calendar js plugin events default first hour on callendar 12 a.m 1 a.m . below code :

<script type="text/javascript">      $(document).ready(function () {           $('#calendar').fullcalendar({             header: {                 left: 'prev,next today',                 center: 'title',                 right: 'month,agendaweek,agendaday'             },             editable: true,             eventlimit: true, // allow "more" link when many events             events: {                 url: '<?php echo base_url(); ?>appointments/get_appointmentss',                 error: function () {                     $('#script-warning').show();                 }             },             // convert allday string boolean             eventrender: function (event) {                  if (event.allday === 'true') {                     event.allday = true;                 } else {                     event.allday = false;                 }              },             loading: function (bool) {                 $('#loading').toggle(bool);             }         });        });  </script> 

the returned value in json encode below :

[{"title":"rabbi less brown motivation","allday":"false","start":"2015-06-17 14:00:00","end":"2015-06-17 15:00:00"},{"title":"miss mary wochete sinaida","allday":"false","start":"2015-06-02 14:15:30","end":"2015-06-02 14:30:25"},{"title":"lt col robirt sharma monk","allday":"false","start":"2015-06-18 08:00:00","end":"2015-06-18 09:00:00"}] 

the start , end day saved on mysql data type datetime . not doing right information display within stipulated time ?


Comments