Fullcalendar end date wrong by one day

前端 未结 10 2238
温柔的废话
温柔的废话 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 05:10

    I think the key word in the directions is exclusive so whatever time you specify will not be included in the date range.

    So in your case "2014-12-21T00:00:00.000Z" would mean that the event would no longer exists at the very beginning of 12-21. If you want the event to go through 12-21 you'd want to set the end time to "2014-12-22T00:00:00.000" (first possible time in 12-22).

提交回复
热议问题