* Calendar/EMail: wrong timezone conversation when accepting meeting requests (happening if server- and user-timezone are different!)

This commit is contained in:
Ralf Becker 2014-03-13 14:09:41 +00:00
parent b429fe8ef6
commit c48e63df8a

View File

@ -1639,6 +1639,10 @@ class calendar_uiforms extends calendar_ui
return; return;
} }
$event = array_shift($events); $event = array_shift($events);
// convert event from servertime returned by calendar_ical to user-time
$this->bo->server2usertime($event);
if (($existing_event = $this->bo->read($event['uid'])) && !$existing_event['deleted']) if (($existing_event = $this->bo->read($event['uid'])) && !$existing_event['deleted'])
{ {
switch(strtolower($ical_method)) switch(strtolower($ical_method))