fix timezone problem/shift for CalDAV introduces by REST API changes

only matters if EGroupware server-timezone is different from the user-timezone
This commit is contained in:
ralf 2023-07-28 14:23:18 +02:00
parent 0b46feb706
commit d534623d73

View File

@ -386,7 +386,7 @@ class calendar_groupdav extends Api\CalDAV\Handler
($events =& $this->bo->search([ ($events =& $this->bo->search([
'offset' => $chunk*self::CHUNK_SIZE, 'offset' => $chunk*self::CHUNK_SIZE,
'num_rows' => self::CHUNK_SIZE, 'num_rows' => self::CHUNK_SIZE,
'date_format' => $is_jscalendar ? 'object' : 'ts', 'date_format' => $is_jscalendar ? 'object' : 'server',
]+$filter)); ++$chunk) ]+$filter)); ++$chunk)
{ {
foreach($events as $event) foreach($events as $event)