diff options
author | thomascube <thomas@roundcube.net> | 2007-09-10 07:55:30 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-09-10 07:55:30 +0000 |
commit | d7d66380f0f9f3a0a3dba3a7e298b1d094105ac0 (patch) | |
tree | 11176f0a561fd039210eba9fd4e98b8220e14f60 /config | |
parent | eb684206067a151a8b417bb1e4f7e48d4a56e5bf (diff) |
Use server's timezone for defaults (#1484288)
Diffstat (limited to 'config')
-rw-r--r-- | config/main.inc.php.dist | 6 |
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; |