scheduler-node-models 1.1.6 → 1.1.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scheduler-node-models",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -673,12 +673,6 @@ class Employee {
673
673
  end = new Date(Date.UTC(end.getFullYear(), end.getMonth(), end.getDate()));
674
674
  while (start.getTime() <= end.getTime()) {
675
675
  const wd = this.getWorkdayWOLeaves(start);
676
- if (this.name.lastname.toLowerCase() === 'erne') {
677
- const now = new Date();
678
- if (start.getTime() < now.getTime()) {
679
- console.log(JSON.stringify(wd));
680
- }
681
- }
682
676
  if (wd) {
683
677
  const label = `${wd.workcenter}-${wd.code}`;
684
678
  if (label !== '-') {