summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/main.inc.php.dist6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index ce6396da8..377aa2cc3 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -226,10 +226,10 @@ $rcmail_config['include_host_config'] = FALSE;
$rcmail_config['pagesize'] = 40;
// use this timezone to display date/time
-$rcmail_config['timezone'] = 1;
+$rcmail_config['timezone'] = intval(date('O'))/100 - date('I');
-// daylight savings are On
-$rcmail_config['dst_active'] = TRUE;
+// if daylight savings are On
+$rcmail_config['dst_active'] = (bool)date('I');
// prefer displaying HTML messages
$rcmail_config['prefer_html'] = TRUE;