From 86d648a995a761ae6c5afce67750abdfe8f5add5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 16 Nov 2009 17:28:34 +0000 Subject: [PATCH] Set event['tzid'] for clients using UTC timestamps --- calendar/inc/class.calendar_ical.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 9683443ab1..d8d1937fca 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -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']);