* 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:08:44 +00:00
parent cdf574d73d
commit f07500ec62

View File

@ -1712,6 +1712,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))