scheduler-node-models 1.0.28 → 1.0.30
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/package.json
CHANGED
@@ -107,8 +107,8 @@ class EnterpriseSchedule extends general_1.Report {
|
|
107
107
|
current = new Date(startDate);
|
108
108
|
while (current.getTime() < endDate.getTime()) {
|
109
109
|
this.setCell(sheet, this.getCellID(current.getDate(), 1), this.getCellID(current.getDate(), 1), style, months[current.getMonth()]);
|
110
|
-
this.setCell(sheet, this.getCellID(current.getDate(), 2), this.getCellID(current.getDate(),
|
111
|
-
this.setCell(sheet, this.getCellID(current.getDate(), 3), this.getCellID(current.getDate(),
|
110
|
+
this.setCell(sheet, this.getCellID(current.getDate(), 2), this.getCellID(current.getDate(), 2), style, weekdays[current.getDay()]);
|
111
|
+
this.setCell(sheet, this.getCellID(current.getDate(), 3), this.getCellID(current.getDate(), 3), style, current.getDate());
|
112
112
|
current = new Date(current.getTime() + (24 * 3600000));
|
113
113
|
}
|
114
114
|
let row = 3;
|