@syncfusion/ej2-schedule 27.1.58 → 27.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21547,7 +21547,7 @@ class YearEvent extends TimelineEvent {
21547
21547
  if (eventObj[this.fields.isAllDay] && end === eventObj[this.fields.endTime].getTime() || isSpanned.isRight) {
21548
21548
  end = addDays(new Date(end), -1).getTime();
21549
21549
  }
21550
- isSpanned.count = Math.ceil((end - start) / MS_PER_DAY) + 1;
21550
+ isSpanned.count = Math.round((end - start) / MS_PER_DAY) + 1;
21551
21551
  }
21552
21552
  }
21553
21553
  eventData.isSpanned = isSpanned;