mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
using TimezoneUtil in GetMessage to determine as_tz array more correctly
This commit is contained in:
parent
91a5f3180f
commit
2ba626ac04
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user