diff --git a/calendar/inc/class.calendar_zpush.inc.php b/calendar/inc/class.calendar_zpush.inc.php index f76f875c8f..029d7e8006 100644 --- a/calendar/inc/class.calendar_zpush.inc.php +++ b/calendar/inc/class.calendar_zpush.inc.php @@ -1040,7 +1040,12 @@ class calendar_zpush implements activesync_plugin_write, activesync_plugin_meeti // set timezone try { - $as_tz = self::tz2as($event['tzid']); + //ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.':'.$event['tzid']); + //$as_tz = self::tz2as($event['tzid']); + //ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.':'. array2string($as_tz )); + // Using TimezoneUtil from zpush to transform from name to as_tz array + $as_tz = TimezoneUtil::GetFullTZFromTZName($event['tzid']); + ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' TimeZone:'.$event['tzid'].' transforms to:'. array2string($as_tz )); $message->timezone = base64_encode(self::_getSyncBlobFromTZ($as_tz)); } catch(Exception $e) {