diff --git a/main/inc/lib/agenda.lib.php b/main/inc/lib/agenda.lib.php index 85d4110111..9b9aad49f3 100644 --- a/main/inc/lib/agenda.lib.php +++ b/main/inc/lib/agenda.lib.php @@ -628,8 +628,12 @@ class Agenda } foreach ($generatedDates as $dateInfo) { - $start = api_get_local_time($dateInfo['start']); - $end = api_get_local_time($dateInfo['end']); +// $start = api_get_local_time($dateInfo['start']); +// $end = api_get_local_time($dateInfo['end']); +// On line 529 in function generateDatesByType there is a @todo remove comment code +// just before the part updating the date in local time so keep both synchronised + $start = $dateInfo['start']; + $end = $dateInfo['end']; $this->addEvent( $start, $end,