@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.
@@ -21958,8 +21958,9 @@ class VerticalView extends ViewBase {
21958
21958
  const msStartHour = startHour.getTime();
21959
21959
  const msEndHour = endHour.getTime();
21960
21960
  if (msStartHour !== msEndHour) {
21961
+ const duration = this.parent.activeViewOptions.timeScale.interval / this.parent.activeViewOptions.timeScale.slotCount;
21961
21962
  length = (Math.abs(msEndHour - msStartHour) / msInterval) - ((new Date(msEndHour).getTimezoneOffset()
21962
- - new Date(msStartHour).getTimezoneOffset()) / (60 / this.parent.activeViewOptions.timeScale.slotCount));
21963
+ - new Date(msStartHour).getTimezoneOffset()) / duration);
21963
21964
  }
21964
21965
  if (!this.parent.activeViewOptions.timeScale.enable) {
21965
21966
  length = 1;