[agenda] Fix repeated event date timezone error on repeated event - refs BT#18150

pull/3738/head
NicoDucou 5 years ago
parent 1e8229db0d
commit 8045806a6c
  1. 8
      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,

Loading…
Cancel
Save