File event date issue

Transactions
Dan 2017-09-29 15:02:58 -06:00
parent a252cfb830
commit 5c59dac0d5
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ function nextDay(startDate, dayOfWeek, hour, minutes, offset){
startDate.setMinutes(minutes); startDate.setMinutes(minutes);
startDate.setSeconds(0); startDate.setSeconds(0);
startDate.setMilliseconds(0); startDate.setMilliseconds(0);
//startDate.setTime(startDate.getTime() + (offset * 60000)); startDate.setTime(startDate.getTime() - (offset * 60000));
return startDate; return startDate;
} }