How to modify event data on eventRender method while drag or resize event on Fullcalendar

84
January 01, 2020, at 3:30 PM

I am trying to modify my event while drag or resize event but it's not working. actually I am trying if day end at 24:00 (but full calendar show it as 00:00) then I want to add more 2 hours for the next days. please give me a better solution

eventRender: function(event, element, view) {
        if (event.end.format('HH:mm') === '00:00') {
          event.end = event.end.add(2, 'hours')
          console.log('event.end ', event.end.format('HH:mm'))
        }
      },
READ ALSO
Parse the content we get from copy and paste using jquery

Parse the content we get from copy and paste using jquery

I am working on a project and I am stuck on a very weird issueI have to restrict what content we receive from copy and paste on an input box

85
How to auto fill the address by using the postcode?

How to auto fill the address by using the postcode?

I want the user just enter their address's postcode without select any region because it will auto fillBut, I don't have an idea how to do it

91
How to make roundSlider and Jquery-UI slider responsive and work with boostrap

How to make roundSlider and Jquery-UI slider responsive and work with boostrap

I am trying to put together a Boostrap 4 card that has thermostat control user interfaceBelow are parts of my code (full code is here: https://jsfiddle

106