@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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +3 -0
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +3 -0
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +13 -13
- package/src/gantt/base/date-processor.js +3 -0
|
@@ -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());
|