From b44f0c2f41f3d5cd43abe5d86da71a086f6335f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Thu, 17 Jun 2010 07:38:27 +0000 Subject: [PATCH] Fix SyncML device timezone issues --- calendar/inc/class.calendar_sif.inc.php | 4 ++-- infolog/inc/class.infolog_ical.inc.php | 4 ++-- infolog/inc/class.infolog_sif.inc.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/calendar/inc/class.calendar_sif.inc.php b/calendar/inc/class.calendar_sif.inc.php index 4c623735a3..d00bcf1fe0 100644 --- a/calendar/inc/class.calendar_sif.inc.php +++ b/calendar/inc/class.calendar_sif.inc.php @@ -1198,10 +1198,10 @@ class calendar_sif extends calendar_boupdate { switch ($deviceInfo['tzid']) { - case 1: + case -1: $this->tzid = false; break; - case 2: + case -2: $this->tzid = null; break; default: diff --git a/infolog/inc/class.infolog_ical.inc.php b/infolog/inc/class.infolog_ical.inc.php index b083dc369a..b7be2bcf9f 100644 --- a/infolog/inc/class.infolog_ical.inc.php +++ b/infolog/inc/class.infolog_ical.inc.php @@ -964,10 +964,10 @@ class infolog_ical extends infolog_bo { switch ($deviceInfo['tzid']) { - case 1: + case -1: $this->tzid = false; break; - case 2: + case -2: $this->tzid = null; break; default: diff --git a/infolog/inc/class.infolog_sif.inc.php b/infolog/inc/class.infolog_sif.inc.php index 6ffc2e5afd..9b090e277f 100644 --- a/infolog/inc/class.infolog_sif.inc.php +++ b/infolog/inc/class.infolog_sif.inc.php @@ -644,10 +644,10 @@ class infolog_sif extends infolog_bo { switch ($deviceInfo['tzid']) { - case 1: + case -1: $this->tzid = false; break; - case 2: + case -2: $this->tzid = null; break; default: