summaryrefslogtreecommitdiff
path: root/program/include/rcube_config.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_config.php')
-rw-r--r--program/include/rcube_config.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php
index 18a90a969..e16395711 100644
--- a/program/include/rcube_config.php
+++ b/program/include/rcube_config.php
@@ -219,6 +219,11 @@ class rcube_config
}
}
+ // convert user's timezone into the new format
+ if (is_numeric($prefs['timezone'])) {
+ $prefs['timezone'] = timezone_name_from_abbr('', $prefs['timezone'] * 3600, 0);
+ }
+
$this->userprefs = $prefs;
$this->prop = array_merge($this->prop, $prefs);