This timezone stuff really is a hard one...

release-0.7
thomascube 13 years ago
parent 985e410012
commit f4f4354fea

@ -220,7 +220,7 @@ class rcube_config
// override timezone settings with client values
if ($this->prop['timezone'] == 'auto') {
$this->prop['_timezone_value'] = isset($_SESSION['timezone']) ? $_SESSION['timezone'] : $this->prop['_timezone_value'];
$this->prop['dst_active'] = isset($_SESSION['dst_active']) ? $_SESSION['dst_active'] : $this->prop['dst_active'];
$this->prop['dst_active'] = $this->userprefs['dst_active'] = isset($_SESSION['dst_active']) ? $_SESSION['dst_active'] : $this->prop['dst_active'];
}
else if (isset($this->prop['_timezone_value']))
unset($this->prop['_timezone_value']);

Loading…
Cancel
Save