Changeset 5714 in subversion


Ignore:
Timestamp:
Jan 5, 2012 4:56:18 AM (17 months ago)
Author:
alec
Message:
  • Update timezone in user prefs too (#1488291)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_config.php

    r5707 r5714  
    220220        } 
    221221 
     222        // convert user's timezone into the new format 
     223        if (is_numeric($prefs['timezone'])) { 
     224            $prefs['timezone'] = timezone_name_from_abbr('', $prefs['timezone'] * 3600, 0); 
     225        } 
     226 
    222227        $this->userprefs = $prefs; 
    223228        $this->prop      = array_merge($this->prop, $prefs); 
Note: See TracChangeset for help on using the changeset viewer.