Description List of Time Zones For Language Files

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Description List of Time Zones For Language Files
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Hey all,

Don't you hate the GMT + or - time zone listings in nuke? Well I do too, so I spent some time to type out the time zones with descriptions. You can plug this into your language files and away you go.

For example, this can replace the code in /modules/Forums/language/lang-main.php (around line 900) file to change the drop down list values for times zones:

$lang['All_times'] = 'All times are %s'; // eg. All times are GMT - 12 Hours (times from next block)
$lang['-12'] = '(GMT -12:00 hours) Eniwetok, Kwajalein';
$lang['-11'] = '(GMT -11:00 hours) Midway Island, Samoa';
$lang['-10'] = '(GMT -10:00 hours) Hawaii';
$lang['-9'] = '(GMT -9:00 hours) Alaska';
$lang['-8'] = '(GMT -8:00 hours) Pacific Time (US & Canada)';
$lang['-7'] = '(GMT -7:00 hours) Mountain Time (US & Canada)';
$lang['-6'] = '(GMT -6:00 hours) Central Time (US & Canada), Mexico City';
$lang['-5'] = '(GMT -5:00 hours) Eastern Time (US & Canada), Bogota, Lima, Quito';
$lang['-4'] = '(GMT -4:00 hours) Atlantic Time (Canada), Caracas, La Paz';
$lang['-3.5'] = '(GMT -3:30 hours) Newfoundland';
$lang['-3'] = '(GMT -3:00 hours) Brazil, Buenos Aires, Georgetown';
$lang['-2'] = '(GMT -2:00 hours) Mid-Atlantic';
$lang['-1'] = '(GMT -1:00 hour) Azores, Cape Verde Islands';
$lang['0'] = '(GMT) Western Europe Time, London, Lisbon, Casablanca, Monrovia';
$lang['1'] = '(GMT +1:00 hour) CET(Central Europe Time), Brussels, Copenhagen, Madrid, Paris';
$lang['2'] = '(GMT +2:00 hours) EET(Eastern Europe Time), Kaliningrad, South Africa';
$lang['3'] = '(GMT +3:00 hours) Baghdad, Kuwait, Riyadh, Moscow, St. Petersburg';
$lang['3.5'] = '(GMT +3:30 hours) Tehran';
$lang['4'] = '(GMT +4:00 hours) Abu Dhabi, Muscat, Baku, Tbilisi';
$lang['4.5'] = '(GMT +4:30 hours) Kabul';
$lang['5'] = '(GMT +5:00 hours) Ekaterinburg, Islamabad, Karachi, Tashkent';
$lang['5.5'] = '(GMT +5:30 hours) Bombay, Calcutta, Madras, New Delhi';
$lang['6'] = '(GMT +6:00 hours) Almaty, Dhaka, Colombo';
$lang['6.5'] = '(GMT +6:30 hours) Rangoon';
$lang['7'] = '(GMT +7:00 hours) Bangkok, Hanoi, Jakarta';
$lang['8'] = '(GMT +8:00 hours) Beijing, Perth, Singapore, Hong Kong, Chongquing, Urumqi, Taipei';
$lang['9'] = '(GMT +9:00 hours) Tokyo, Seoul, Osaka, Sapporo, Yakutsk';
$lang['9.5'] = '(GMT +9:30 hours) Adelaide, Darwin';
$lang['10'] = '(GMT +10:00 hours) EAST(East Australian Standard';
$lang['11'] = '(GMT +11:00 hours) Magadan, Solomon Islands, New Caledonia';
$lang['12'] = '(GMT +12:00 hours) Auckland, Wellington, Fiji, Kamchatka, Marshall Island';
$lang['13'] = '(GMT +13:00 hours) Nukualofa';


Dig in!



_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum