plugins/libkolab
Aleksander Machniak
machniak at kolabsys.com
Fri Jul 6 10:59:22 CEST 2012
plugins/libkolab/lib/kolab_format.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8866c159d6495c63f9f21984cf585c7591535d28
Author: Aleksander Machniak <alec at alec.pl>
Date: Fri Jul 6 10:58:50 2012 +0200
Revert "DateTime::setTimezone() expects argument of type DateTimeZone". This is cDateTime here.
diff --git a/plugins/libkolab/lib/kolab_format.php b/plugins/libkolab/lib/kolab_format.php
index 91b87ac..23246d3 100644
--- a/plugins/libkolab/lib/kolab_format.php
+++ b/plugins/libkolab/lib/kolab_format.php
@@ -99,7 +99,7 @@ abstract class kolab_format
if ($tz && $tz->getName() == 'UTC')
$result->setUTC(true);
else if ($tz !== false)
- $result->setTimezone($tz);
+ $result->setTimezone($tz->getName());
}
return $result;
More information about the commits
mailing list