@syncfusion/ej2-schedule 20.1.47 → 20.1.48

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.
@@ -22712,8 +22712,9 @@ var VerticalView = /** @__PURE__ @class */ (function (_super) {
22712
22712
  var msStartHour = startHour.getTime();
22713
22713
  var msEndHour = endHour.getTime();
22714
22714
  if (msStartHour !== msEndHour) {
22715
+ var duration = this.parent.activeViewOptions.timeScale.interval / this.parent.activeViewOptions.timeScale.slotCount;
22715
22716
  length = (Math.abs(msEndHour - msStartHour) / msInterval) - ((new Date(msEndHour).getTimezoneOffset()
22716
- - new Date(msStartHour).getTimezoneOffset()) / (60 / this.parent.activeViewOptions.timeScale.slotCount));
22717
+ - new Date(msStartHour).getTimezoneOffset()) / duration);
22717
22718
  }
22718
22719
  if (!this.parent.activeViewOptions.timeScale.enable) {
22719
22720
  length = 1;