summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-11-06 08:42:23 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-11-06 09:57:25 (GMT)
commitdbc9c6c8d3c4585c469281808a0c276eafcbf359 (patch)
treedc5b8f9550401bb16bc7bc9c593ce23f3567dec6
parentbd272871bcf39948aa64777fe813bf6191c2c2de (diff)
downloadroundcubemail-plugins-kolab-dbc9c6c8d3c4585c469281808a0c276eafcbf359.tar.gz
Define aliases for UTC timezone
-rw-r--r--plugins/libkolab/lib/kolab_format.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libkolab/lib/kolab_format.php b/plugins/libkolab/lib/kolab_format.php
index aa88f69..9dc8a31 100644
--- a/plugins/libkolab/lib/kolab_format.php
+++ b/plugins/libkolab/lib/kolab_format.php
@@ -123,7 +123,7 @@ abstract class kolab_format
if (!$dateonly)
$result->setTime($datetime->format('G'), $datetime->format('i'), $datetime->format('s'));
- if ($tz && $tz->getName() == 'UTC')
+ if ($tz && in_array($tz->getName(), array('UTC','GMT','+00:00')))
$result->setUTC(true);
else if ($tz !== false)
$result->setTimezone($tz->getName());