Changeset 4b5d2d5 in github


Ignore:
Timestamp:
Jan 13, 2006 12:39:53 PM (7 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
000e4bf
Parents:
d3502f3
Message:

Additional timezones (patch 1389912)

Location:
program/steps/settings
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/steps/settings/func.inc

    r1cded85 r4b5d2d5  
    8585  $select_timezone->add('(GMT +2:00) EET: Kaliningrad, South Africa', '2'); 
    8686  $select_timezone->add('(GMT +3:00) Baghdad, Kuwait, Riyadh, Moscow, Nairobi', '3'); 
     87  $select_timezone->add('(GMT +3:30) Tehran', '3.5'); 
    8788  $select_timezone->add('(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi', '4'); 
     89  $select_timezone->add('(GMT +4:30) Kabul', '4.5'); 
    8890  $select_timezone->add('(GMT +5:00) Ekaterinburg, Islamabad, Karachi', '5'); 
     91  $select_timezone->add('(GMT +5:30) Chennai, Kolkata, Mumbai, New Delhi', '5.5'); 
     92  $select_timezone->add('(GMT +5:45) Kathmandu', '5.75'); 
    8993  $select_timezone->add('(GMT +6:00) Almaty, Dhaka, Colombo', '6'); 
    9094  $select_timezone->add('(GMT +7:00) Bangkok, Hanoi, Jakarta', '7'); 
    9195  $select_timezone->add('(GMT +8:00) Beijing, Perth, Singapore, Taipei', '8'); 
    9296  $select_timezone->add('(GMT +9:00) Tokyo, Seoul, Yakutsk', '9'); 
     97  $select_timezone->add('(GMT +9:30) Adelaide, Darwin', '9.5'); 
    9398  $select_timezone->add('(GMT +10:00) EAST/AEST: Guam, Vladivostok', '10'); 
    9499  $select_timezone->add('(GMT +11:00) Magadan, Solomon Islands', '11'); 
  • program/steps/settings/save_prefs.inc

    r7cc38e0 r4b5d2d5  
    2525 
    2626 
    27 $a_user_prefs['timezone'] = isset($_POST['_timezone']) ? (int)$_POST['_timezone'] : $CONFIG['timezone']; 
     27$a_user_prefs['timezone'] = isset($_POST['_timezone']) ? floatval($_POST['_timezone']) : $CONFIG['timezone']; 
    2828$a_user_prefs['pagesize'] = is_numeric($_POST['_pagesize']) ? (int)$_POST['_pagesize'] : $CONFIG['pagesize']; 
    2929$a_user_prefs['prefer_html'] = isset($_POST['_prefer_html']) ? TRUE : FALSE; 
Note: See TracChangeset for help on using the changeset viewer.