fullcalendar incorrect event end date after eventResize

后端 未结 3 1610
无人及你
无人及你 2020-12-21 19:34

After resize an event, it returns an incorrect end date.. I don\'t understand why..

I\'m using this code:

$(\'#calendar\').fullCalendar({
    header:         


        
3条回答
  •  遥遥无期
    2020-12-21 20:11

    My issue was solved by this adding .utc().format()

    moment.parseZone('2016-05-03T22:15:01+02:00').utc().format(); //"2016-05-03T20:15:01Z"
    

    moment docs reference

提交回复
热议问题