Proper starting day incorrect on Sunday when $dayNo<Schedule::weekdaystart. Shows next week in "this week" mode in schedule module, expected result is current week.
Current code in Schedule.class.php line xxx:
// Get proper starting day
$dayNo = date('w', $dv['todayTs']);
Simple bug fix. Add this line after the lines above:
if ($dayNo<$this->weekdaystart) $dayNo += 7; //FIX BY ANDERSTORNKVIST.SE
Log in to post a comment.