Fullcalendar end date wrong by one day

前端 未结 10 2261
温柔的废话
温柔的废话 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 had the same issue and i finally figured out.

    I was using full day TRUE, as per the documentation if you use full day true it will behave in time.

    so first, I changed full day to FALSE, then

    in my end day I added $endDate."T23:59:00";

    This worked for me.

提交回复
热议问题