From 3c4c0acfee8b04aa38cb6f10bcec40630e518da0 Mon Sep 17 00:00:00 2001 From: Moritz Strohm Date: Fri, 30 Jan 2026 13:30:07 +0100 Subject: fixed code comment --- app/controllers/calendar/schedule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/calendar/schedule.php b/app/controllers/calendar/schedule.php index 7594cc9..3f286e9 100644 --- a/app/controllers/calendar/schedule.php +++ b/app/controllers/calendar/schedule.php @@ -239,8 +239,8 @@ class Calendar_ScheduleController extends AuthenticatedController //The requested time range may not start on monday (which is the case when //the schedule starts with the day view in the responsive view). //Therefore, the cycle date may need to be shifted. - //$date_dow_offset for the cycle date is the day of week of the cycle date minus the start of the - //requested time range. The latter is reduced by one to get only the difference from Monday. + //$date_dow_offset for the cycle date is the day of week of the cycle date + //minus the start of the requested time range. $date_dow_offset -= (int)$begin->format('N'); if ($date_dow_offset > 0) { //The fake time range of the cycle date has to be shifted: -- cgit v1.0