(startDate, endDate)
| 3567 | } |
| 3568 | }; |
| 3569 | function getDaysDifference(startDate, endDate) { |
| 3570 | const start = new Date(startDate); |
| 3571 | const end = new Date(endDate); |
| 3572 | const differenceInTime = end.getTime() - start.getTime(); |
| 3573 | const differenceInDays = differenceInTime / (1e3 * 3600 * 24); |
| 3574 | return Math.abs(differenceInDays); |
| 3575 | } |
| 3576 | scheduler2._get_real_event_length = function(startDate, endDate, config) { |
| 3577 | var eventLength = endDate - startDate; |
| 3578 | var ignore = this["ignore_" + this._mode]; |