diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-09-10 07:55:30 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-09-10 07:55:30 +0000 |
| commit | 613a15f8cbeb5e208af89a941d06958347415f9e (patch) | |
| tree | e36760ffe29a400a56244d3b7ead44310f933085 | |
| parent | 9071f383cb84e06fafbe1f2fc1d7a317fda84571 (diff) | |
Use server's timezone for defaults (#1484288)
git-svn-id: https://svn.roundcube.net/trunk@790 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/config/main.inc.php.dist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/config/main.inc.php.dist b/roundcubemail/config/main.inc.php.dist index ce6396da8..377aa2cc3 100644 --- a/roundcubemail/config/main.inc.php.dist +++ b/roundcubemail/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; |
