Set event['tzid'] for clients using UTC timestamps

This commit is contained in:
Jörg Lehrke 2009-11-16 17:28:34 +00:00
parent 1b256c503d
commit 86d648a995

View File

@ -1479,6 +1479,10 @@ class calendar_ical extends calendar_boupdate
{
$event['tzid'] = $this->tzid;
}
else
{
$event['tzid'] = egw_time::$user_timezone->getName(); // default to user timezone
}
break;
case 'DTEND':
$dtend_ts = is_numeric($attributes['value']) ? $attributes['value'] : $this->date2ts($attributes['value']);