@syncfusion/ej2-gantt 20.2.46 → 20.2.49

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.
@@ -652,6 +652,9 @@ class DateProcessor {
652
652
  */
653
653
  getProjectStartDate(ganttProp, isLoad) {
654
654
  if (!isNullOrUndefined(this.parent.cloneProjectStartDate)) {
655
+ if (typeof this.parent.cloneProjectStartDate === 'string') {
656
+ this.parent.cloneProjectStartDate = this.getDateFromFormat(this.parent.cloneProjectStartDate);
657
+ }
655
658
  const cloneStartDate = this.checkStartDate(this.parent.cloneProjectStartDate);
656
659
  this.parent.cloneProjectStartDate = cloneStartDate;
657
660
  return new Date(cloneStartDate.getTime());