Skip to content

Commit

Permalink
Fix wrong dayOfWeek interpretation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevad authored Jul 18, 2016
1 parent c3885c8 commit 09d6ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CronTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public function canRun()
'hour' => $date['hours'],
'day' => $date['mday'],
'month' => $date['mon'],
'dayOfWeek' => $date['wday'] - 1,
'dayOfWeek' => $date['wday'],
);

$canRun = array();
Expand Down

0 comments on commit 09d6ef9

Please sign in to comment.