jsgantt-improved
Advanced tools
Comparing version 2.2.7 to 2.2.8
@@ -619,2 +619,6 @@ "use strict"; | ||
}; | ||
exports.ClearTasks = function () { | ||
this.vTaskList = []; | ||
this.vProcessNeeded = true; | ||
}; | ||
// Recursively process task tree ... set min, max dates of parent tasks and identfy task level. | ||
@@ -621,0 +625,0 @@ exports.processRows = function (pList, pID, pRow, pLevel, pOpen, pUseSort, vDebug) { |
@@ -236,2 +236,7 @@ | ||
**ClearTasks()** | ||
This method will clear al the tasks from the list and after that you have to call "g.Draw()". | ||
# Options # | ||
@@ -238,0 +243,0 @@ |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.2.7", | ||
"version": "2.2.8", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1075,3 +1075,4 @@ import * as lang from './lang'; | ||
case 'date': | ||
value = value ? value.toISOString().split('T')[0] : '' | ||
// Take timezone into account before converting to ISO String | ||
value = value ? new Date(value.getTime() - (value.getTimezoneOffset() * 60000)).toISOString().split('T')[0] : ''; | ||
return `<input class="gantt-inputtable" type="date" value="${value}">`; | ||
@@ -1078,0 +1079,0 @@ case 'resource': |
@@ -571,2 +571,6 @@ import { parseDateStr, isIE, stripUnwanted, internalPropertiesLang, formatDateStr, hashKey, internalProperties } from "./utils"; | ||
export const ClearTasks = function () { | ||
this.vTaskList = []; | ||
this.vProcessNeeded = true; | ||
}; | ||
@@ -573,0 +577,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4997962
115282