Skip to content

Commit

Permalink
fix: correctly handle recurrences on extended recurrences
Browse files Browse the repository at this point in the history
  • Loading branch information
cgoIT committed Nov 29, 2024
1 parent 6096dd9 commit 919fbc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EventListener/DataContainer/CalendarEventsCallbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,9 @@ private function processExtendedRecurring(Result|\stdClass $activeRecord, array
$end = $arrSet['repeatEnd'];

while ($next <= $end) {
System::loadLanguageFile('default', 'en', true);
$timetoadd = $arg.' '.$unit.' of '.$GLOBALS['TL_LANG']['MONTHS'][$month - 1].' '.$year;
System::loadLanguageFile('default');
$strtotime = strtotime($timetoadd, $next);

if (false === $strtotime) {
Expand Down

0 comments on commit 919fbc1

Please sign in to comment.