Test dates
parent
9753ae6b32
commit
2e3a2c3749
|
|
@ -120,7 +120,7 @@ function nextDay(startDate, dayOfWeek, hour, offset){
|
||||||
startDate.setMinutes(0);
|
startDate.setMinutes(0);
|
||||||
startDate.setSeconds(0);
|
startDate.setSeconds(0);
|
||||||
startDate.setMilliseconds(0);
|
startDate.setMilliseconds(0);
|
||||||
startDate.setOffset(offset);
|
startDate.setTime(startDate.getTime() + (offset * 60000));
|
||||||
return startDate;
|
return startDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue