Browse Source

UI-634: removed the start_date from temporal rules so the backend sets it to a date in the past

4.3
Maxime Roux 11 years ago
parent
commit
20527906ed
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      submodules/strategy/strategy.js

+ 0
- 3
submodules/strategy/strategy.js View File

@ -1037,7 +1037,6 @@ define(function(require){
holidayRule = {
cycle: "yearly",
interval: 1,
start_date: monster.util.dateToGregorian(new Date()),
month: parseInt(month),
type: "main_holidays"
};
@ -2087,7 +2086,6 @@ define(function(require){
interval: 1,
name: val,
type: "main_weekdays",
start_date: monster.util.dateToGregorian(new Date()),
time_window_start: "32400", // 9:00AM
time_window_stop: "61200", // 5:00PM
wdays: [val.substring(4).toLowerCase()]
@ -2112,7 +2110,6 @@ define(function(require){
interval: 1,
name: "MainLunchHours",
type: "main_lunchbreak",
start_date: monster.util.dateToGregorian(new Date()),
time_window_start: "43200",
time_window_stop: "46800",
wdays: self.weekdays


Loading…
Cancel
Save