@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.
@@ -22314,7 +22314,7 @@ var YearEvent = /** @__PURE__ @class */ (function (_super) {
22314
22314
  if (eventObj[this.fields.isAllDay] && end === eventObj[this.fields.endTime].getTime() || isSpanned.isRight) {
22315
22315
  end = addDays(new Date(end), -1).getTime();
22316
22316
  }
22317
- isSpanned.count = Math.ceil((end - start) / MS_PER_DAY) + 1;
22317
+ isSpanned.count = Math.round((end - start) / MS_PER_DAY) + 1;
22318
22318
  }
22319
22319
  }
22320
22320
  eventData.isSpanned = isSpanned;