scheduler-node-models 1.1.5 → 1.1.6

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.5",
3
+ "version": "1.1.6",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -381,9 +381,6 @@ class Employee {
381
381
  wday.hours = work;
382
382
  return wday;
383
383
  }
384
- if (date.getTime() <= lastWorked.getTime()) {
385
- wday = undefined;
386
- }
387
384
  // lastly check leave list
388
385
  this.leaves.forEach(lv => {
389
386
  if (lv.useLeave(date)