Changeset d7d6638 in github


Ignore:
Timestamp:
Sep 10, 2007 3:55:30 AM (6 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
4845a1e
Parents:
eb68420
Message:

Use server's timezone for defaults (#1484288)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config/main.inc.php.dist

    r03b2717 rd7d6638  
    227227 
    228228// use this timezone to display date/time 
    229 $rcmail_config['timezone'] = 1; 
    230  
    231 // daylight savings are On 
    232 $rcmail_config['dst_active'] = TRUE; 
     229$rcmail_config['timezone'] = intval(date('O'))/100 - date('I'); 
     230 
     231// if daylight savings are On 
     232$rcmail_config['dst_active'] = (bool)date('I'); 
    233233 
    234234// prefer displaying HTML messages 
Note: See TracChangeset for help on using the changeset viewer.