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