Fullcalendar end date wrong by one day

前端 未结 10 2284
温柔的废话
温柔的废话 2020-12-06 04:42

I am making a fullCalendar backed car reservation functionality. This is the coffescript file.

    updateEvent = (event, delta, revertFunc) ->
      $.aja         


        
10条回答
  •  误落风尘
    2020-12-06 04:55

    If you are setting your end date for 0 hours, min, sec, etc of 12-21-2014 there is no time in that day for an event to show.

    You may need to advance your end date to 0 hours of the next day since you have the event setup as an all day event, however uou may also be fine just advancing the time any amount (such as an hour) so that the event falls inside of the desired end date, then being an all day event it should render.

    It would be nice if their event object included a duration parameter you could set, at least I didn't see one in their documentation.

提交回复
热议问题