diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2026-01-30 13:30:07 +0100 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2026-01-30 13:30:07 +0100 |
| commit | 3c4c0acfee8b04aa38cb6f10bcec40630e518da0 (patch) | |
| tree | f3610b241d8e5581a8154f421e7427467b7c2a0c /app/controllers | |
| parent | 7ef89dcc0390bd18c907e4a0a1971a5eb35de1a4 (diff) | |
fixed code commentbiest-06210
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/calendar/schedule.php | 4 |
1 files 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: |
