[Beta] Display date with daylight savings time

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
SilverPaladin
Registered User
Posts: 1
Joined: Thu Sep 26, 2002 3:11 pm

[Beta] Display date with daylight savings time

Post by SilverPaladin » Thu Sep 26, 2002 3:19 pm

I notice the date function does not take into account daylight savings time. This makes the board look like it is always behind an hour if you are in daylight savings time.

I have a small one liner wich adds support for this.

Code: Select all

Open includes/functions.php

Find around line 343 

return ( !empty($translate) ) ? strtr(

replace entire line with 

return ( !empty($translate) ) ? strtr(@gmdate($format, ($gmepoch + (3600 * $tz)) + (date("I",time()) * 3600)),$translate) : @gmdate($format, ($gmepoch + (3600 * $tz))+ (date("I",time()) * 3600) );

Nefarrio Malevolent
Registered User
Posts: 10
Joined: Thu Jul 08, 2004 6:55 pm

Re: [Beta] Display date with daylight savings time

Post by Nefarrio Malevolent » Mon Nov 03, 2008 6:59 pm

I just took advantage of php's timezone support, which includes DST. It's an extremely simple mod. Email nefarrio (at) hotmail.com with any questions.

Minimum number of timezones - timezone_mod.txt:

Code: Select all

############################################################## 
## MOD Title:       Timezone Support
## MOD Author:      Peter Moore - nefarrio (at) hotmail.com
## MOD Description: This mod will provide automatic timezone support
##                  including daylight savings time.
## 
## MOD Version:     0.1.0 
## 
## Installation Level: Easy 
## Installation Time: 10 Minutes 
## 
## Files To Edit:  language/lang_main.php
##                 includes/functions.php
## 
## License:      http://opensource.org/licenses/gpl-license.php GNU General Public License v2 
## 
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/ 
## for the latest version of this MOD. Although MODs are checked 
## before being allowed in the MODs Database there is no guarantee 
## that there are no security problems within the MOD. No support 
## will be given for MODs not found within the MODs Database which 
## can be found at http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes:   
##		   This mod has been tested on phpbb 2.0.23 
## 
############################################################## 
## MOD History: 
## 
## 0.1.0 11-03-2007
## - Initial release
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ SQL ]------------------------------------------ 
# 
-- ******************** ORDER IS IMPORTANT HERE!

-- ******************** Anything outside the norm, set to GMT.
UPDATE phpbb_users  SET user_timezone = 0 WHERE  (user_timezone > 12) OR (user_timezone < -12);
UPDATE phpbb_config SET config_value  = 0 WHERE ((config_value  > 12) OR (config_value  < -12)) AND (config_name = "board_timezone");

-- ******************** These next 6 deal with the "half" zones supported by phpBB.
-- Newfoundland
UPDATE phpbb_users  SET user_timezone = 356 WHERE (user_timezone = -3.5);
UPDATE phpbb_config SET config_value  = 356 WHERE (config_value  = -3.5) AND (config_name = "board_timezone");
-- Iran
UPDATE phpbb_users  SET user_timezone = 164 WHERE (user_timezone =  3.5);
UPDATE phpbb_config SET config_value  = 164 WHERE (config_value  =  3.5) AND (config_name = "board_timezone");
-- Afghanistan
UPDATE phpbb_users  SET user_timezone = 135 WHERE (user_timezone =  4.5);
UPDATE phpbb_config SET config_value  = 135 WHERE (config_value  =  4.5) AND (config_name = "board_timezone");
-- India
UPDATE phpbb_users  SET user_timezone = 118 WHERE (user_timezone =  5.5);
UPDATE phpbb_config SET config_value  = 118 WHERE (config_value  =  5.5) AND (config_name = "board_timezone");
-- Burma
UPDATE phpbb_users  SET user_timezone = 154 WHERE (user_timezone =  6.5);
UPDATE phpbb_config SET config_value  = 154 WHERE (config_value  =  6.5) AND (config_name = "board_timezone");
-- Central Australia
UPDATE phpbb_users  SET user_timezone = 180 WHERE (user_timezone =  9.5);
UPDATE phpbb_config SET config_value  = 180 WHERE (config_value  =  9.5) AND (config_name = "board_timezone");

-- ******************** Adjust phpBB values to the new indices.
UPDATE phpbb_users  SET user_timezone = user_timezone + 22 WHERE (user_timezone < 13);
UPDATE phpbb_config SET config_value  = config_value  + 22 WHERE (config_value  < 13) AND (config_name = "board_timezone");

-- ******************** US zones - DST, Alaska & Hawaii
-- US: EST DST
UPDATE phpbb_users  SET user_timezone = 1   WHERE (user_timezone = 17);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 17) AND (config_name = "board_timezone");
-- US: CST DST
UPDATE phpbb_users  SET user_timezone = 2   WHERE (user_timezone = 16);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 16) AND (config_name = "board_timezone");
-- US: MST DST
UPDATE phpbb_users  SET user_timezone = 3   WHERE (user_timezone = 15);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 15) AND (config_name = "board_timezone");
-- US: PST DST
UPDATE phpbb_users  SET user_timezone = 4   WHERE (user_timezone = 14);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 14) AND (config_name = "board_timezone");
-- US: Alaska
UPDATE phpbb_users  SET user_timezone = 327 WHERE (user_timezone = 13);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 13) AND (config_name = "board_timezone");
-- US: HST
UPDATE phpbb_users  SET user_timezone = 5   WHERE (user_timezone = 12);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 12) AND (config_name = "board_timezone");

# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['-12'] = 'GMT - 12 Hours';
$lang['-11'] = 'GMT - 11 Hours';
$lang['-10'] = 'GMT - 10 Hours';
$lang['-9'] = 'GMT - 9 Hours';
$lang['-8'] = 'GMT - 8 Hours';
$lang['-7'] = 'GMT - 7 Hours';
$lang['-6'] = 'GMT - 6 Hours';
$lang['-5'] = 'GMT - 5 Hours';
$lang['-4'] = 'GMT - 4 Hours';
$lang['-3.5'] = 'GMT - 3.5 Hours';
$lang['-3'] = 'GMT - 3 Hours';
$lang['-2'] = 'GMT - 2 Hours';
$lang['-1'] = 'GMT - 1 Hours';
$lang['0'] = 'GMT';
$lang['1'] = 'GMT + 1 Hour';
$lang['2'] = 'GMT + 2 Hours';
$lang['3'] = 'GMT + 3 Hours';
$lang['3.5'] = 'GMT + 3.5 Hours';
$lang['4'] = 'GMT + 4 Hours';
$lang['4.5'] = 'GMT + 4.5 Hours';
$lang['5'] = 'GMT + 5 Hours';
$lang['5.5'] = 'GMT + 5.5 Hours';
$lang['6'] = 'GMT + 6 Hours';
$lang['6.5'] = 'GMT + 6.5 Hours';
$lang['7'] = 'GMT + 7 Hours';
$lang['8'] = 'GMT + 8 Hours';
$lang['9'] = 'GMT + 9 Hours';
$lang['9.5'] = 'GMT + 9.5 Hours';
$lang['10'] = 'GMT + 10 Hours';
$lang['11'] = 'GMT + 11 Hours';
$lang['12'] = 'GMT + 12 Hours';
$lang['13'] = 'GMT + 13 Hours';

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['tz']['-12'] = 'GMT - 12 Hours';
$lang['tz']['-11'] = 'GMT - 11 Hours';
$lang['tz']['-10'] = 'GMT - 10 Hours';
$lang['tz']['-9'] = 'GMT - 9 Hours';
$lang['tz']['-8'] = 'GMT - 8 Hours';
$lang['tz']['-7'] = 'GMT - 7 Hours';
$lang['tz']['-6'] = 'GMT - 6 Hours';
$lang['tz']['-5'] = 'GMT - 5 Hours';
$lang['tz']['-4'] = 'GMT - 4 Hours';
$lang['tz']['-3.5'] = 'GMT - 3.5 Hours';
$lang['tz']['-3'] = 'GMT - 3 Hours';
$lang['tz']['-2'] = 'GMT - 2 Hours';
$lang['tz']['-1'] = 'GMT - 1 Hours';
$lang['tz']['0'] = 'GMT';
$lang['tz']['1'] = 'GMT + 1 Hour';
$lang['tz']['2'] = 'GMT + 2 Hours';
$lang['tz']['3'] = 'GMT + 3 Hours';
$lang['tz']['3.5'] = 'GMT + 3.5 Hours';
$lang['tz']['4'] = 'GMT + 4 Hours';
$lang['tz']['4.5'] = 'GMT + 4.5 Hours';
$lang['tz']['5'] = 'GMT + 5 Hours';
$lang['tz']['5.5'] = 'GMT + 5.5 Hours';
$lang['tz']['6'] = 'GMT + 6 Hours';
$lang['tz']['6.5'] = 'GMT + 6.5 Hours';
$lang['tz']['7'] = 'GMT + 7 Hours';
$lang['tz']['8'] = 'GMT + 8 Hours';
$lang['tz']['9'] = 'GMT + 9 Hours';
$lang['tz']['9.5'] = 'GMT + 9.5 Hours';
$lang['tz']['10'] = 'GMT + 10 Hours';
$lang['tz']['11'] = 'GMT + 11 Hours';
$lang['tz']['12'] = 'GMT + 12 Hours';
$lang['tz']['13'] = 'GMT + 13 Hours';

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
$lang['tz']['1'] = 'US:  Eastern DST';
$lang['tz']['2'] = 'US:  Central DST';
$lang['tz']['3'] = 'US:  Mountain DST';
$lang['tz']['4'] = 'US:  Pacific DST';
$lang['tz']['5'] = 'US:  Hawaii';
$lang['tz']['6'] = 'US:  Eastern (No DST)';
$lang['tz']['7'] = 'US:  Central (No DST)';
$lang['tz']['8'] = 'US:  Mountain (No DST)';
$lang['tz']['9'] = 'US:  Pacific (No DST)';
$lang['tz']['10'] = 'GMT-12';
$lang['tz']['11'] = 'GMT-11';
$lang['tz']['12'] = 'GMT-10';
$lang['tz']['13'] = 'GMT-9';
$lang['tz']['14'] = 'GMT-8';
$lang['tz']['15'] = 'GMT-7';
$lang['tz']['16'] = 'GMT-6';
$lang['tz']['17'] = 'GMT-5';
$lang['tz']['18'] = 'GMT-4';
$lang['tz']['19'] = 'GMT-3';
$lang['tz']['20'] = 'GMT-2';
$lang['tz']['21'] = 'GMT-1';
$lang['tz']['22'] = 'GMT';
$lang['tz']['23'] = 'GMT+1';
$lang['tz']['24'] = 'GMT+2';
$lang['tz']['25'] = 'GMT+3';
$lang['tz']['26'] = 'GMT+4';
$lang['tz']['27'] = 'GMT+5';
$lang['tz']['28'] = 'GMT+6';
$lang['tz']['29'] = 'GMT+7';
$lang['tz']['30'] = 'GMT+8';
$lang['tz']['31'] = 'GMT+9';
$lang['tz']['32'] = 'GMT+10';
$lang['tz']['33'] = 'GMT+11';
$lang['tz']['34'] = 'GMT+12';
$lang['tz']['118'] = 'Asia:  Calcutta';
$lang['tz']['135'] = 'Asia:  Kabul';
$lang['tz']['154'] = 'Asia:  Rangoon';
$lang['tz']['164'] = 'Asia:  Tehran';
$lang['tz']['180'] = 'Australasia:  Darwin';
$lang['tz']['327'] = 'North America:  Juneau';
$lang['tz']['356'] = 'North America:  St_Johns';

// These are used to set the time zone environment variable for date manipulation.
$lang['tz_env']['1'] = 'EST5EDT';
$lang['tz_env']['2'] = 'CST6CDT';
$lang['tz_env']['3'] = 'MST7MDT';
$lang['tz_env']['4'] = 'PST8PDT';
$lang['tz_env']['5'] = 'HST';
$lang['tz_env']['6'] = 'EST';
$lang['tz_env']['7'] = 'CST';
$lang['tz_env']['8'] = 'MST';
$lang['tz_env']['9'] = 'PST';
$lang['tz_env']['10'] = 'Etc/GMT-12';
$lang['tz_env']['11'] = 'Etc/GMT-11';
$lang['tz_env']['12'] = 'Etc/GMT-10';
$lang['tz_env']['13'] = 'Etc/GMT-9';
$lang['tz_env']['14'] = 'Etc/GMT-8';
$lang['tz_env']['15'] = 'Etc/GMT-7';
$lang['tz_env']['16'] = 'Etc/GMT-6';
$lang['tz_env']['17'] = 'Etc/GMT-5';
$lang['tz_env']['18'] = 'Etc/GMT-4';
$lang['tz_env']['19'] = 'Etc/GMT-3';
$lang['tz_env']['20'] = 'Etc/GMT-2';
$lang['tz_env']['21'] = 'Etc/GMT-1';
$lang['tz_env']['22'] = 'Etc/GMT';
$lang['tz_env']['23'] = 'Etc/GMT+1';
$lang['tz_env']['24'] = 'Etc/GMT+2';
$lang['tz_env']['25'] = 'Etc/GMT+3';
$lang['tz_env']['26'] = 'Etc/GMT+4';
$lang['tz_env']['27'] = 'Etc/GMT+5';
$lang['tz_env']['28'] = 'Etc/GMT+6';
$lang['tz_env']['29'] = 'Etc/GMT+7';
$lang['tz_env']['30'] = 'Etc/GMT+8';
$lang['tz_env']['31'] = 'Etc/GMT+9';
$lang['tz_env']['32'] = 'Etc/GMT+10';
$lang['tz_env']['33'] = 'Etc/GMT+11';
$lang['tz_env']['34'] = 'Etc/GMT+12';
$lang['tz_env']['118'] = 'Asia/Calcutta';
$lang['tz_env']['135'] = 'Asia/Kabul';
$lang['tz_env']['154'] = 'Asia/Rangoon';
$lang['tz_env']['164'] = 'Asia/Tehran';
$lang['tz_env']['180'] = 'Australia/Darwin';
$lang['tz_env']['327'] = 'America/Juneau';
$lang['tz_env']['356'] = 'America/St_Johns';

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/functions.php
# 
#-----[ FIND ]------------------------------------------ 
# 
	return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz)), $translate) : @gmdate($format, $gmepoch + (3600 * $tz));
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
	putenv("TZ=" . $lang['tz_env'][intval($tz)]);
	return ( !empty($translate) ) ? strtr(@date($format, $gmepoch), $translate) : @date($format, $gmepoch);
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 
Timezones for the entire world - timezone_mod_entire_world.txt:

Code: Select all

############################################################## 
## MOD Title:       Timezone Support
## MOD Author:      Peter Moore - nefarrio (at) hotmail.com
## MOD Description: This mod will provide automatic timezone support
##                  including daylight savings time.
## 
## MOD Version:     0.1.0 
## 
## Installation Level: Easy 
## Installation Time: 10 Minutes 
## 
## Files To Edit:  language/lang_main.php
##                 includes/functions.php
## 
## License:      http://opensource.org/licenses/gpl-license.php GNU General Public License v2 
## 
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/ 
## for the latest version of this MOD. Although MODs are checked 
## before being allowed in the MODs Database there is no guarantee 
## that there are no security problems within the MOD. No support 
## will be given for MODs not found within the MODs Database which 
## can be found at http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes:   
##		   This mod has been tested on phpbb 2.0.23 
## 
############################################################## 
## MOD History: 
## 
## 0.1.0 11-03-2007
## - Initial release
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ SQL ]------------------------------------------ 
# 
-- ******************** ORDER IS IMPORTANT HERE!

-- ******************** Anything outside the norm, set to GMT.
UPDATE phpbb_users  SET user_timezone = 0 WHERE  (user_timezone > 12) OR (user_timezone < -12);
UPDATE phpbb_config SET config_value  = 0 WHERE ((config_value  > 12) OR (config_value  < -12)) AND (config_name = "board_timezone");

-- ******************** These next 6 deal with the "half" zones supported by phpBB.
-- Newfoundland
UPDATE phpbb_users  SET user_timezone = 356 WHERE (user_timezone = -3.5);
UPDATE phpbb_config SET config_value  = 356 WHERE (config_value  = -3.5) AND (config_name = "board_timezone");
-- Iran
UPDATE phpbb_users  SET user_timezone = 164 WHERE (user_timezone =  3.5);
UPDATE phpbb_config SET config_value  = 164 WHERE (config_value  =  3.5) AND (config_name = "board_timezone");
-- Afghanistan
UPDATE phpbb_users  SET user_timezone = 135 WHERE (user_timezone =  4.5);
UPDATE phpbb_config SET config_value  = 135 WHERE (config_value  =  4.5) AND (config_name = "board_timezone");
-- India
UPDATE phpbb_users  SET user_timezone = 118 WHERE (user_timezone =  5.5);
UPDATE phpbb_config SET config_value  = 118 WHERE (config_value  =  5.5) AND (config_name = "board_timezone");
-- Burma
UPDATE phpbb_users  SET user_timezone = 154 WHERE (user_timezone =  6.5);
UPDATE phpbb_config SET config_value  = 154 WHERE (config_value  =  6.5) AND (config_name = "board_timezone");
-- Central Australia
UPDATE phpbb_users  SET user_timezone = 180 WHERE (user_timezone =  9.5);
UPDATE phpbb_config SET config_value  = 180 WHERE (config_value  =  9.5) AND (config_name = "board_timezone");

-- ******************** Adjust phpBB values to the new indices.
UPDATE phpbb_users  SET user_timezone = user_timezone + 22 WHERE (user_timezone < 13);
UPDATE phpbb_config SET config_value  = config_value  + 22 WHERE (config_value  < 13) AND (config_name = "board_timezone");

-- ******************** US zones - DST, Alaska & Hawaii
-- US: EST DST
UPDATE phpbb_users  SET user_timezone = 1   WHERE (user_timezone = 17);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 17) AND (config_name = "board_timezone");
-- US: CST DST
UPDATE phpbb_users  SET user_timezone = 2   WHERE (user_timezone = 16);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 16) AND (config_name = "board_timezone");
-- US: MST DST
UPDATE phpbb_users  SET user_timezone = 3   WHERE (user_timezone = 15);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 15) AND (config_name = "board_timezone");
-- US: PST DST
UPDATE phpbb_users  SET user_timezone = 4   WHERE (user_timezone = 14);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 14) AND (config_name = "board_timezone");
-- US: Alaska
UPDATE phpbb_users  SET user_timezone = 327 WHERE (user_timezone = 13);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 13) AND (config_name = "board_timezone");
-- US: HST
UPDATE phpbb_users  SET user_timezone = 5   WHERE (user_timezone = 12);
UPDATE phpbb_config SET config_value  = 1   WHERE (config_value  = 12) AND (config_name = "board_timezone");

# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['-12'] = 'GMT - 12 Hours';
$lang['-11'] = 'GMT - 11 Hours';
$lang['-10'] = 'GMT - 10 Hours';
$lang['-9'] = 'GMT - 9 Hours';
$lang['-8'] = 'GMT - 8 Hours';
$lang['-7'] = 'GMT - 7 Hours';
$lang['-6'] = 'GMT - 6 Hours';
$lang['-5'] = 'GMT - 5 Hours';
$lang['-4'] = 'GMT - 4 Hours';
$lang['-3.5'] = 'GMT - 3.5 Hours';
$lang['-3'] = 'GMT - 3 Hours';
$lang['-2'] = 'GMT - 2 Hours';
$lang['-1'] = 'GMT - 1 Hours';
$lang['0'] = 'GMT';
$lang['1'] = 'GMT + 1 Hour';
$lang['2'] = 'GMT + 2 Hours';
$lang['3'] = 'GMT + 3 Hours';
$lang['3.5'] = 'GMT + 3.5 Hours';
$lang['4'] = 'GMT + 4 Hours';
$lang['4.5'] = 'GMT + 4.5 Hours';
$lang['5'] = 'GMT + 5 Hours';
$lang['5.5'] = 'GMT + 5.5 Hours';
$lang['6'] = 'GMT + 6 Hours';
$lang['6.5'] = 'GMT + 6.5 Hours';
$lang['7'] = 'GMT + 7 Hours';
$lang['8'] = 'GMT + 8 Hours';
$lang['9'] = 'GMT + 9 Hours';
$lang['9.5'] = 'GMT + 9.5 Hours';
$lang['10'] = 'GMT + 10 Hours';
$lang['11'] = 'GMT + 11 Hours';
$lang['12'] = 'GMT + 12 Hours';
$lang['13'] = 'GMT + 13 Hours';

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['tz']['-12'] = 'GMT - 12 Hours';
$lang['tz']['-11'] = 'GMT - 11 Hours';
$lang['tz']['-10'] = 'GMT - 10 Hours';
$lang['tz']['-9'] = 'GMT - 9 Hours';
$lang['tz']['-8'] = 'GMT - 8 Hours';
$lang['tz']['-7'] = 'GMT - 7 Hours';
$lang['tz']['-6'] = 'GMT - 6 Hours';
$lang['tz']['-5'] = 'GMT - 5 Hours';
$lang['tz']['-4'] = 'GMT - 4 Hours';
$lang['tz']['-3.5'] = 'GMT - 3.5 Hours';
$lang['tz']['-3'] = 'GMT - 3 Hours';
$lang['tz']['-2'] = 'GMT - 2 Hours';
$lang['tz']['-1'] = 'GMT - 1 Hours';
$lang['tz']['0'] = 'GMT';
$lang['tz']['1'] = 'GMT + 1 Hour';
$lang['tz']['2'] = 'GMT + 2 Hours';
$lang['tz']['3'] = 'GMT + 3 Hours';
$lang['tz']['3.5'] = 'GMT + 3.5 Hours';
$lang['tz']['4'] = 'GMT + 4 Hours';
$lang['tz']['4.5'] = 'GMT + 4.5 Hours';
$lang['tz']['5'] = 'GMT + 5 Hours';
$lang['tz']['5.5'] = 'GMT + 5.5 Hours';
$lang['tz']['6'] = 'GMT + 6 Hours';
$lang['tz']['6.5'] = 'GMT + 6.5 Hours';
$lang['tz']['7'] = 'GMT + 7 Hours';
$lang['tz']['8'] = 'GMT + 8 Hours';
$lang['tz']['9'] = 'GMT + 9 Hours';
$lang['tz']['9.5'] = 'GMT + 9.5 Hours';
$lang['tz']['10'] = 'GMT + 10 Hours';
$lang['tz']['11'] = 'GMT + 11 Hours';
$lang['tz']['12'] = 'GMT + 12 Hours';
$lang['tz']['13'] = 'GMT + 13 Hours';

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
$lang['tz']['1'] = 'US:  Eastern DST';
$lang['tz']['2'] = 'US:  Central DST';
$lang['tz']['3'] = 'US:  Mountain DST';
$lang['tz']['4'] = 'US:  Pacific DST';
$lang['tz']['5'] = 'US:  Hawaii';
$lang['tz']['6'] = 'US:  Eastern (No DST)';
$lang['tz']['7'] = 'US:  Central (No DST)';
$lang['tz']['8'] = 'US:  Mountain (No DST)';
$lang['tz']['9'] = 'US:  Pacific (No DST)';
$lang['tz']['10'] = 'GMT-12';
$lang['tz']['11'] = 'GMT-11';
$lang['tz']['12'] = 'GMT-10';
$lang['tz']['13'] = 'GMT-9';
$lang['tz']['14'] = 'GMT-8';
$lang['tz']['15'] = 'GMT-7';
$lang['tz']['16'] = 'GMT-6';
$lang['tz']['17'] = 'GMT-5';
$lang['tz']['18'] = 'GMT-4';
$lang['tz']['19'] = 'GMT-3';
$lang['tz']['20'] = 'GMT-2';
$lang['tz']['21'] = 'GMT-1';
$lang['tz']['22'] = 'GMT';
$lang['tz']['23'] = 'GMT+1';
$lang['tz']['24'] = 'GMT+2';
$lang['tz']['25'] = 'GMT+3';
$lang['tz']['26'] = 'GMT+4';
$lang['tz']['27'] = 'GMT+5';
$lang['tz']['28'] = 'GMT+6';
$lang['tz']['29'] = 'GMT+7';
$lang['tz']['30'] = 'GMT+8';
$lang['tz']['31'] = 'GMT+9';
$lang['tz']['32'] = 'GMT+10';
$lang['tz']['33'] = 'GMT+11';
$lang['tz']['34'] = 'GMT+12';
$lang['tz']['35'] = 'UCT';
$lang['tz']['36'] = 'UTC';
$lang['tz']['37'] = 'Africa:  Abidjan';
$lang['tz']['38'] = 'Africa:  Accra';
$lang['tz']['39'] = 'Africa:  Addis_Ababa';
$lang['tz']['40'] = 'Africa:  Algiers';
$lang['tz']['41'] = 'Africa:  Antananarivo';
$lang['tz']['42'] = 'Africa:  Asmera';
$lang['tz']['43'] = 'Africa:  Bamako';
$lang['tz']['44'] = 'Africa:  Bangui';
$lang['tz']['45'] = 'Africa:  Banjul';
$lang['tz']['46'] = 'Africa:  Bissau';
$lang['tz']['47'] = 'Africa:  Blantyre';
$lang['tz']['48'] = 'Africa:  Brazzaville';
$lang['tz']['49'] = 'Africa:  Bujumbura';
$lang['tz']['50'] = 'Africa:  Cairo';
$lang['tz']['51'] = 'Africa:  Cape_Verde';
$lang['tz']['52'] = 'Africa:  Casablanca';
$lang['tz']['53'] = 'Africa:  Comoro';
$lang['tz']['54'] = 'Africa:  Conakry';
$lang['tz']['55'] = 'Africa:  Dakar';
$lang['tz']['56'] = 'Africa:  Dar_es_Salaam';
$lang['tz']['57'] = 'Africa:  Djibouti';
$lang['tz']['58'] = 'Africa:  Douala';
$lang['tz']['59'] = 'Africa:  El_Aaiun';
$lang['tz']['60'] = 'Africa:  Freetown';
$lang['tz']['61'] = 'Africa:  Gaborone';
$lang['tz']['62'] = 'Africa:  Harare';
$lang['tz']['63'] = 'Africa:  Johannesburg';
$lang['tz']['64'] = 'Africa:  Kampala';
$lang['tz']['65'] = 'Africa:  Khartoum';
$lang['tz']['66'] = 'Africa:  Kigali';
$lang['tz']['67'] = 'Africa:  Kinshasa';
$lang['tz']['68'] = 'Africa:  Lagos';
$lang['tz']['69'] = 'Africa:  Libreville';
$lang['tz']['70'] = 'Africa:  Lome';
$lang['tz']['71'] = 'Africa:  Luanda';
$lang['tz']['72'] = 'Africa:  Lubumbashi';
$lang['tz']['73'] = 'Africa:  Lusaka';
$lang['tz']['74'] = 'Africa:  Mahe';
$lang['tz']['75'] = 'Africa:  Malabo';
$lang['tz']['76'] = 'Africa:  Maputo';
$lang['tz']['77'] = 'Africa:  Maseru';
$lang['tz']['78'] = 'Africa:  Mauritius';
$lang['tz']['79'] = 'Africa:  Mayotte';
$lang['tz']['80'] = 'Africa:  Mbabane';
$lang['tz']['81'] = 'Africa:  Mogadishu';
$lang['tz']['82'] = 'Africa:  Monrovia';
$lang['tz']['83'] = 'Africa:  Nairobi';
$lang['tz']['84'] = 'Africa:  Ndjamena';
$lang['tz']['85'] = 'Africa:  Niamey';
$lang['tz']['86'] = 'Africa:  Nouakchott';
$lang['tz']['87'] = 'Africa:  Ouagadougou';
$lang['tz']['88'] = 'Africa:  Porto-Novo';
$lang['tz']['89'] = 'Africa:  Reunion';
$lang['tz']['90'] = 'Africa:  Sao_Tome';
$lang['tz']['91'] = 'Africa:  St_Helena';
$lang['tz']['92'] = 'Africa:  Tripoli';
$lang['tz']['93'] = 'Africa:  Tunis';
$lang['tz']['94'] = 'Africa:  Windhoek';
$lang['tz']['95'] = 'Antarctica:  Casey';
$lang['tz']['96'] = 'Antarctica:  Davis';
$lang['tz']['97'] = 'Antarctica:  DumontDUrville';
$lang['tz']['98'] = 'Antarctica:  Kerguelen';
$lang['tz']['99'] = 'Antarctica:  Mawson';
$lang['tz']['100'] = 'Antarctica:  McMurdo';
$lang['tz']['101'] = 'Antarctica:  Palmer';
$lang['tz']['102'] = 'Antarctica:  Rothera';
$lang['tz']['103'] = 'Antarctica:  Syowa';
$lang['tz']['104'] = 'Antarctica:  Vostok';
$lang['tz']['105'] = 'Asia:  Aden';
$lang['tz']['106'] = 'Asia:  Almaty';
$lang['tz']['107'] = 'Asia:  Amman';
$lang['tz']['108'] = 'Asia:  Aqtau';
$lang['tz']['109'] = 'Asia:  Aqtobe';
$lang['tz']['110'] = 'Asia:  Ashgabat';
$lang['tz']['111'] = 'Asia:  Baghdad';
$lang['tz']['112'] = 'Asia:  Bahrain';
$lang['tz']['113'] = 'Asia:  Baku';
$lang['tz']['114'] = 'Asia:  Bangkok';
$lang['tz']['115'] = 'Asia:  Beirut';
$lang['tz']['116'] = 'Asia:  Bishkek';
$lang['tz']['117'] = 'Asia:  Brunei';
$lang['tz']['118'] = 'Asia:  Calcutta';
$lang['tz']['119'] = 'Asia:  Chagos';
$lang['tz']['120'] = 'Asia:  Choibalsan';
$lang['tz']['121'] = 'Asia:  Chongqing';
$lang['tz']['122'] = 'Asia:  Colombo';
$lang['tz']['123'] = 'Asia:  Damascus';
$lang['tz']['124'] = 'Asia:  Dhaka';
$lang['tz']['125'] = 'Asia:  Dili';
$lang['tz']['126'] = 'Asia:  Dubai';
$lang['tz']['127'] = 'Asia:  Dushanbe';
$lang['tz']['128'] = 'Asia:  Gaza';
$lang['tz']['129'] = 'Asia:  Harbin';
$lang['tz']['130'] = 'Asia:  Hong_Kong';
$lang['tz']['131'] = 'Asia:  Hovd';
$lang['tz']['132'] = 'Asia:  Jakarta';
$lang['tz']['133'] = 'Asia:  Jayapura';
$lang['tz']['134'] = 'Asia:  Jerusalem';
$lang['tz']['135'] = 'Asia:  Kabul';
$lang['tz']['136'] = 'Asia:  Karachi';
$lang['tz']['137'] = 'Asia:  Kashgar';
$lang['tz']['138'] = 'Asia:  Katmandu';
$lang['tz']['139'] = 'Asia:  Kuala_Lumpur';
$lang['tz']['140'] = 'Asia:  Kuching';
$lang['tz']['141'] = 'Asia:  Kuwait';
$lang['tz']['142'] = 'Asia:  Macau';
$lang['tz']['143'] = 'Asia:  Makassar';
$lang['tz']['144'] = 'Asia:  Maldives';
$lang['tz']['145'] = 'Asia:  Manila';
$lang['tz']['146'] = 'Asia:  Muscat';
$lang['tz']['147'] = 'Asia:  Nicosia';
$lang['tz']['148'] = 'Asia:  Oral';
$lang['tz']['149'] = 'Asia:  Phnom_Penh';
$lang['tz']['150'] = 'Asia:  Pontianak';
$lang['tz']['151'] = 'Asia:  Pyongyang';
$lang['tz']['152'] = 'Asia:  Qatar';
$lang['tz']['153'] = 'Asia:  Qyzylorda';
$lang['tz']['154'] = 'Asia:  Rangoon';
$lang['tz']['155'] = 'Asia:  Riyadh';
$lang['tz']['156'] = 'Asia:  Saigon';
$lang['tz']['157'] = 'Asia:  Samarkand';
$lang['tz']['158'] = 'Asia:  Seoul';
$lang['tz']['159'] = 'Asia:  Shanghai';
$lang['tz']['160'] = 'Asia:  Singapore';
$lang['tz']['161'] = 'Asia:  Taipei';
$lang['tz']['162'] = 'Asia:  Tashkent';
$lang['tz']['163'] = 'Asia:  Tbilisi';
$lang['tz']['164'] = 'Asia:  Tehran';
$lang['tz']['165'] = 'Asia:  Thimphu';
$lang['tz']['166'] = 'Asia:  Tokyo';
$lang['tz']['167'] = 'Asia:  Ulaanbaatar';
$lang['tz']['168'] = 'Asia:  Urumqi';
$lang['tz']['169'] = 'Asia:  Vientiane';
$lang['tz']['170'] = 'Asia:  Yerevan';
$lang['tz']['171'] = 'Australasia:  Adelaide';
$lang['tz']['172'] = 'Australasia:  Apia';
$lang['tz']['173'] = 'Australasia:  Auckland';
$lang['tz']['174'] = 'Australasia:  Brisbane';
$lang['tz']['175'] = 'Australasia:  Broken_Hill';
$lang['tz']['176'] = 'Australasia:  Chatham';
$lang['tz']['177'] = 'Australasia:  Christmas';
$lang['tz']['178'] = 'Australasia:  Cocos';
$lang['tz']['179'] = 'Australasia:  Currie';
$lang['tz']['180'] = 'Australasia:  Darwin';
$lang['tz']['181'] = 'Australasia:  Efate';
$lang['tz']['182'] = 'Australasia:  Enderbury';
$lang['tz']['183'] = 'Australasia:  Fakaofo';
$lang['tz']['184'] = 'Australasia:  Fiji';
$lang['tz']['185'] = 'Australasia:  Funafuti';
$lang['tz']['186'] = 'Australasia:  Gambier';
$lang['tz']['187'] = 'Australasia:  Guadalcanal';
$lang['tz']['188'] = 'Australasia:  Guam';
$lang['tz']['189'] = 'Australasia:  Hobart';
$lang['tz']['190'] = 'Australasia:  Johnston';
$lang['tz']['191'] = 'Australasia:  Kiritimati';
$lang['tz']['192'] = 'Australasia:  Kosrae';
$lang['tz']['193'] = 'Australasia:  Kwajalein';
$lang['tz']['194'] = 'Australasia:  Lindeman';
$lang['tz']['195'] = 'Australasia:  Lord_Howe';
$lang['tz']['196'] = 'Australasia:  Majuro';
$lang['tz']['197'] = 'Australasia:  Marquesas';
$lang['tz']['198'] = 'Australasia:  Melbourne';
$lang['tz']['199'] = 'Australasia:  Midway';
$lang['tz']['200'] = 'Australasia:  Nauru';
$lang['tz']['201'] = 'Australasia:  Niue';
$lang['tz']['202'] = 'Australasia:  Norfolk';
$lang['tz']['203'] = 'Australasia:  Noumea';
$lang['tz']['204'] = 'Australasia:  Pago_Pago';
$lang['tz']['205'] = 'Australasia:  Palau';
$lang['tz']['206'] = 'Australasia:  Perth';
$lang['tz']['207'] = 'Australasia:  Pitcairn';
$lang['tz']['208'] = 'Australasia:  Ponape';
$lang['tz']['209'] = 'Australasia:  Port_Moresby';
$lang['tz']['210'] = 'Australasia:  Rarotonga';
$lang['tz']['211'] = 'Australasia:  Saipan';
$lang['tz']['212'] = 'Australasia:  Sydney';
$lang['tz']['213'] = 'Australasia:  Tahiti';
$lang['tz']['214'] = 'Australasia:  Tarawa';
$lang['tz']['215'] = 'Australasia:  Tongatapu';
$lang['tz']['216'] = 'Australasia:  Truk';
$lang['tz']['217'] = 'Australasia:  Wake';
$lang['tz']['218'] = 'Australasia:  Wallis';
$lang['tz']['219'] = 'Europe:  Amsterdam';
$lang['tz']['220'] = 'Europe:  Anadyr';
$lang['tz']['221'] = 'Europe:  Andorra';
$lang['tz']['222'] = 'Europe:  Athens';
$lang['tz']['223'] = 'Europe:  Azores';
$lang['tz']['224'] = 'Europe:  Belgrade';
$lang['tz']['225'] = 'Europe:  Berlin';
$lang['tz']['226'] = 'Europe:  Brussels';
$lang['tz']['227'] = 'Europe:  Bucharest';
$lang['tz']['228'] = 'Europe:  Budapest';
$lang['tz']['229'] = 'Europe:  Canary';
$lang['tz']['230'] = 'Europe:  Ceuta';
$lang['tz']['231'] = 'Europe:  Chisinau';
$lang['tz']['232'] = 'Europe:  Copenhagen';
$lang['tz']['233'] = 'Europe:  Danmarkshavn';
$lang['tz']['234'] = 'Europe:  Dublin';
$lang['tz']['235'] = 'Europe:  Europe - Central';
$lang['tz']['236'] = 'Europe:  Europe - Eastern';
$lang['tz']['237'] = 'Europe:  Europe - Middle';
$lang['tz']['238'] = 'Europe:  Europe - Western';
$lang['tz']['239'] = 'Europe:  Faeroe';
$lang['tz']['240'] = 'Europe:  Gibraltar';
$lang['tz']['241'] = 'Europe:  Godthab';
$lang['tz']['242'] = 'Europe:  Helsinki';
$lang['tz']['243'] = 'Europe:  Irkutsk';
$lang['tz']['244'] = 'Europe:  Istanbul';
$lang['tz']['245'] = 'Europe:  Kaliningrad';
$lang['tz']['246'] = 'Europe:  Kamchatka';
$lang['tz']['247'] = 'Europe:  Kiev';
$lang['tz']['248'] = 'Europe:  Krasnoyarsk';
$lang['tz']['249'] = 'Europe:  Lisbon';
$lang['tz']['250'] = 'Europe:  London';
$lang['tz']['251'] = 'Europe:  Luxembourg';
$lang['tz']['252'] = 'Europe:  Madeira';
$lang['tz']['253'] = 'Europe:  Madrid';
$lang['tz']['254'] = 'Europe:  Magadan';
$lang['tz']['255'] = 'Europe:  Malta';
$lang['tz']['256'] = 'Europe:  Minsk';
$lang['tz']['257'] = 'Europe:  Monaco';
$lang['tz']['258'] = 'Europe:  Moscow';
$lang['tz']['259'] = 'Europe:  Novosibirsk';
$lang['tz']['260'] = 'Europe:  Omsk';
$lang['tz']['261'] = 'Europe:  Oslo';
$lang['tz']['262'] = 'Europe:  Paris';
$lang['tz']['263'] = 'Europe:  Prague';
$lang['tz']['264'] = 'Europe:  Reykjavik';
$lang['tz']['265'] = 'Europe:  Riga';
$lang['tz']['266'] = 'Europe:  Rome';
$lang['tz']['267'] = 'Europe:  Sakhalin';
$lang['tz']['268'] = 'Europe:  Samara';
$lang['tz']['269'] = 'Europe:  Scoresbysund';
$lang['tz']['270'] = 'Europe:  Simferopol';
$lang['tz']['271'] = 'Europe:  Sofia';
$lang['tz']['272'] = 'Europe:  Stockholm';
$lang['tz']['273'] = 'Europe:  Tallinn';
$lang['tz']['274'] = 'Europe:  Thule';
$lang['tz']['275'] = 'Europe:  Tirane';
$lang['tz']['276'] = 'Europe:  Uzhgorod';
$lang['tz']['277'] = 'Europe:  Vaduz';
$lang['tz']['278'] = 'Europe:  Vienna';
$lang['tz']['279'] = 'Europe:  Vilnius';
$lang['tz']['280'] = 'Europe:  Vladivostok';
$lang['tz']['281'] = 'Europe:  Warsaw';
$lang['tz']['282'] = 'Europe:  Yakutsk';
$lang['tz']['283'] = 'Europe:  Yekaterinburg';
$lang['tz']['284'] = 'Europe:  Zaporozhye';
$lang['tz']['285'] = 'Europe:  Zurich';
$lang['tz']['286'] = 'North America:  Adak';
$lang['tz']['287'] = 'North America:  Anchorage';
$lang['tz']['288'] = 'North America:  Anguilla';
$lang['tz']['289'] = 'North America:  Antigua';
$lang['tz']['290'] = 'North America:  Barbados';
$lang['tz']['291'] = 'North America:  Belize';
$lang['tz']['292'] = 'North America:  Bermuda';
$lang['tz']['293'] = 'North America:  Boise';
$lang['tz']['294'] = 'North America:  Cambridge_Bay';
$lang['tz']['295'] = 'North America:  Cancun';
$lang['tz']['296'] = 'North America:  Cayman';
$lang['tz']['297'] = 'North America:  Chicago';
$lang['tz']['298'] = 'North America:  Chihuahua';
$lang['tz']['299'] = 'North America:  Coral_Harbour';
$lang['tz']['300'] = 'North America:  Costa_Rica';
$lang['tz']['301'] = 'North America:  Dawson';
$lang['tz']['302'] = 'North America:  Dawson_Creek';
$lang['tz']['303'] = 'North America:  Denver';
$lang['tz']['304'] = 'North America:  Detroit';
$lang['tz']['305'] = 'North America:  Dominica';
$lang['tz']['306'] = 'North America:  Edmonton';
$lang['tz']['307'] = 'North America:  El_Salvador';
$lang['tz']['308'] = 'North America:  Glace_Bay';
$lang['tz']['309'] = 'North America:  Goose_Bay';
$lang['tz']['310'] = 'North America:  Grand_Turk';
$lang['tz']['311'] = 'North America:  Grenada';
$lang['tz']['312'] = 'North America:  Guadeloupe';
$lang['tz']['313'] = 'North America:  Guatemala';
$lang['tz']['314'] = 'North America:  Halifax';
$lang['tz']['315'] = 'North America:  Havana';
$lang['tz']['316'] = 'North America:  Hermosillo';
$lang['tz']['317'] = 'North America:  Honolulu';
$lang['tz']['318'] = 'North America:  Indiana/Indianapolis';
$lang['tz']['319'] = 'North America:  Indiana/Knox';
$lang['tz']['320'] = 'North America:  Indiana/Marengo';
$lang['tz']['321'] = 'North America:  Indiana/Petersburg';
$lang['tz']['322'] = 'North America:  Indiana/Vevay';
$lang['tz']['323'] = 'North America:  Indiana/Vincennes';
$lang['tz']['324'] = 'North America:  Inuvik';
$lang['tz']['325'] = 'North America:  Iqaluit';
$lang['tz']['326'] = 'North America:  Jamaica';
$lang['tz']['327'] = 'North America:  Juneau';
$lang['tz']['328'] = 'North America:  Kentucky/Louisville';
$lang['tz']['329'] = 'North America:  Kentucky/Monticello';
$lang['tz']['330'] = 'North America:  Los_Angeles';
$lang['tz']['331'] = 'North America:  Managua';
$lang['tz']['332'] = 'North America:  Martinique';
$lang['tz']['333'] = 'North America:  Mazatlan';
$lang['tz']['334'] = 'North America:  Menominee';
$lang['tz']['335'] = 'North America:  Merida';
$lang['tz']['336'] = 'North America:  Mexico_City';
$lang['tz']['337'] = 'North America:  Miquelon';
$lang['tz']['338'] = 'North America:  Moncton';
$lang['tz']['339'] = 'North America:  Monterrey';
$lang['tz']['340'] = 'North America:  Montreal';
$lang['tz']['341'] = 'North America:  Montserrat';
$lang['tz']['342'] = 'North America:  Nassau';
$lang['tz']['343'] = 'North America:  New_York';
$lang['tz']['344'] = 'North America:  Nipigon';
$lang['tz']['345'] = 'North America:  Nome';
$lang['tz']['346'] = 'North America:  North_Dakota/Center';
$lang['tz']['347'] = 'North America:  Panama';
$lang['tz']['348'] = 'North America:  Pangnirtung';
$lang['tz']['349'] = 'North America:  Phoenix';
$lang['tz']['350'] = 'North America:  Port-au-Prince';
$lang['tz']['351'] = 'North America:  Puerto_Rico';
$lang['tz']['352'] = 'North America:  Rainy_River';
$lang['tz']['353'] = 'North America:  Rankin_Inlet';
$lang['tz']['354'] = 'North America:  Regina';
$lang['tz']['355'] = 'North America:  Santo_Domingo';
$lang['tz']['356'] = 'North America:  St_Johns';
$lang['tz']['357'] = 'North America:  St_Kitts';
$lang['tz']['358'] = 'North America:  St_Lucia';
$lang['tz']['359'] = 'North America:  St_Thomas';
$lang['tz']['360'] = 'North America:  St_Vincent';
$lang['tz']['361'] = 'North America:  Swift_Current';
$lang['tz']['362'] = 'North America:  Tegucigalpa';
$lang['tz']['363'] = 'North America:  Thunder_Bay';
$lang['tz']['364'] = 'North America:  Tijuana';
$lang['tz']['365'] = 'North America:  Toronto';
$lang['tz']['366'] = 'North America:  Tortola';
$lang['tz']['367'] = 'North America:  Vancouver';
$lang['tz']['368'] = 'North America:  Whitehorse';
$lang['tz']['369'] = 'North America:  Winnipeg';
$lang['tz']['370'] = 'North America:  Yakutat';
$lang['tz']['371'] = 'North America:  Yellowknife';
$lang['tz']['372'] = 'South America:  Araguaina';
$lang['tz']['373'] = 'South America:  Aruba';
$lang['tz']['374'] = 'South America:  Asuncion';
$lang['tz']['375'] = 'South America:  Bahia';
$lang['tz']['376'] = 'South America:  Belem';
$lang['tz']['377'] = 'South America:  Boa_Vista';
$lang['tz']['378'] = 'South America:  Bogota';
$lang['tz']['379'] = 'South America:  Buenos_Aires';
$lang['tz']['380'] = 'South America:  Campo_Grande';
$lang['tz']['381'] = 'South America:  Caracas';
$lang['tz']['382'] = 'South America:  Catamarca';
$lang['tz']['383'] = 'South America:  Cayenne';
$lang['tz']['384'] = 'South America:  Cordoba';
$lang['tz']['385'] = 'South America:  Cuiaba';
$lang['tz']['386'] = 'South America:  Curacao';
$lang['tz']['387'] = 'South America:  Easter';
$lang['tz']['388'] = 'South America:  Eirunepe';
$lang['tz']['389'] = 'South America:  Fortaleza';
$lang['tz']['390'] = 'South America:  Galapagos';
$lang['tz']['391'] = 'South America:  Guayaquil';
$lang['tz']['392'] = 'South America:  Guyana';
$lang['tz']['393'] = 'South America:  Jujuy';
$lang['tz']['394'] = 'South America:  La_Paz';
$lang['tz']['395'] = 'South America:  La_Rioja';
$lang['tz']['396'] = 'South America:  Lima';
$lang['tz']['397'] = 'South America:  Maceio';
$lang['tz']['398'] = 'South America:  Manaus';
$lang['tz']['399'] = 'South America:  Mendoza';
$lang['tz']['400'] = 'South America:  Montevideo';
$lang['tz']['401'] = 'South America:  Noronha';
$lang['tz']['402'] = 'South America:  Paramaribo';
$lang['tz']['403'] = 'South America:  Port_of_Spain';
$lang['tz']['404'] = 'South America:  Porto_Velho';
$lang['tz']['405'] = 'South America:  Recife';
$lang['tz']['406'] = 'South America:  Rio_Branco';
$lang['tz']['407'] = 'South America:  Rio_Gallegos';
$lang['tz']['408'] = 'South America:  San_Juan';
$lang['tz']['409'] = 'South America:  Santiago';
$lang['tz']['410'] = 'South America:  Sao_Paulo';
$lang['tz']['411'] = 'South America:  South_Georgia';
$lang['tz']['412'] = 'South America:  Stanley';
$lang['tz']['413'] = 'South America:  Tucuman';
$lang['tz']['414'] = 'South America:  Ushuaia';

// These are used to set the time zone environment variable for date manipulation.
$lang['tz_env']['1'] = 'EST5EDT';
$lang['tz_env']['2'] = 'CST6CDT';
$lang['tz_env']['3'] = 'MST7MDT';
$lang['tz_env']['4'] = 'PST8PDT';
$lang['tz_env']['5'] = 'HST';
$lang['tz_env']['6'] = 'EST';
$lang['tz_env']['7'] = 'CST';
$lang['tz_env']['8'] = 'MST';
$lang['tz_env']['9'] = 'PST';
$lang['tz_env']['10'] = 'Etc/GMT-12';
$lang['tz_env']['11'] = 'Etc/GMT-11';
$lang['tz_env']['12'] = 'Etc/GMT-10';
$lang['tz_env']['13'] = 'Etc/GMT-9';
$lang['tz_env']['14'] = 'Etc/GMT-8';
$lang['tz_env']['15'] = 'Etc/GMT-7';
$lang['tz_env']['16'] = 'Etc/GMT-6';
$lang['tz_env']['17'] = 'Etc/GMT-5';
$lang['tz_env']['18'] = 'Etc/GMT-4';
$lang['tz_env']['19'] = 'Etc/GMT-3';
$lang['tz_env']['20'] = 'Etc/GMT-2';
$lang['tz_env']['21'] = 'Etc/GMT-1';
$lang['tz_env']['22'] = 'Etc/GMT';
$lang['tz_env']['23'] = 'Etc/GMT+1';
$lang['tz_env']['24'] = 'Etc/GMT+2';
$lang['tz_env']['25'] = 'Etc/GMT+3';
$lang['tz_env']['26'] = 'Etc/GMT+4';
$lang['tz_env']['27'] = 'Etc/GMT+5';
$lang['tz_env']['28'] = 'Etc/GMT+6';
$lang['tz_env']['29'] = 'Etc/GMT+7';
$lang['tz_env']['30'] = 'Etc/GMT+8';
$lang['tz_env']['31'] = 'Etc/GMT+9';
$lang['tz_env']['32'] = 'Etc/GMT+10';
$lang['tz_env']['33'] = 'Etc/GMT+11';
$lang['tz_env']['34'] = 'Etc/GMT+12';
$lang['tz_env']['35'] = 'Etc/UCT';
$lang['tz_env']['36'] = 'Etc/UTC';
$lang['tz_env']['37'] = 'Africa/Abidjan';
$lang['tz_env']['38'] = 'Africa/Accra';
$lang['tz_env']['39'] = 'Africa/Addis_Ababa';
$lang['tz_env']['40'] = 'Africa/Algiers';
$lang['tz_env']['41'] = 'Indian/Antananarivo';
$lang['tz_env']['42'] = 'Africa/Asmera';
$lang['tz_env']['43'] = 'Africa/Bamako';
$lang['tz_env']['44'] = 'Africa/Bangui';
$lang['tz_env']['45'] = 'Africa/Banjul';
$lang['tz_env']['46'] = 'Africa/Bissau';
$lang['tz_env']['47'] = 'Africa/Blantyre';
$lang['tz_env']['48'] = 'Africa/Brazzaville';
$lang['tz_env']['49'] = 'Africa/Bujumbura';
$lang['tz_env']['50'] = 'Africa/Cairo';
$lang['tz_env']['51'] = 'Atlantic/Cape_Verde';
$lang['tz_env']['52'] = 'Africa/Casablanca';
$lang['tz_env']['53'] = 'Indian/Comoro';
$lang['tz_env']['54'] = 'Africa/Conakry';
$lang['tz_env']['55'] = 'Africa/Dakar';
$lang['tz_env']['56'] = 'Africa/Dar_es_Salaam';
$lang['tz_env']['57'] = 'Africa/Djibouti';
$lang['tz_env']['58'] = 'Africa/Douala';
$lang['tz_env']['59'] = 'Africa/El_Aaiun';
$lang['tz_env']['60'] = 'Africa/Freetown';
$lang['tz_env']['61'] = 'Africa/Gaborone';
$lang['tz_env']['62'] = 'Africa/Harare';
$lang['tz_env']['63'] = 'Africa/Johannesburg';
$lang['tz_env']['64'] = 'Africa/Kampala';
$lang['tz_env']['65'] = 'Africa/Khartoum';
$lang['tz_env']['66'] = 'Africa/Kigali';
$lang['tz_env']['67'] = 'Africa/Kinshasa';
$lang['tz_env']['68'] = 'Africa/Lagos';
$lang['tz_env']['69'] = 'Africa/Libreville';
$lang['tz_env']['70'] = 'Africa/Lome';
$lang['tz_env']['71'] = 'Africa/Luanda';
$lang['tz_env']['72'] = 'Africa/Lubumbashi';
$lang['tz_env']['73'] = 'Africa/Lusaka';
$lang['tz_env']['74'] = 'Indian/Mahe';
$lang['tz_env']['75'] = 'Africa/Malabo';
$lang['tz_env']['76'] = 'Africa/Maputo';
$lang['tz_env']['77'] = 'Africa/Maseru';
$lang['tz_env']['78'] = 'Indian/Mauritius';
$lang['tz_env']['79'] = 'Indian/Mayotte';
$lang['tz_env']['80'] = 'Africa/Mbabane';
$lang['tz_env']['81'] = 'Africa/Mogadishu';
$lang['tz_env']['82'] = 'Africa/Monrovia';
$lang['tz_env']['83'] = 'Africa/Nairobi';
$lang['tz_env']['84'] = 'Africa/Ndjamena';
$lang['tz_env']['85'] = 'Africa/Niamey';
$lang['tz_env']['86'] = 'Africa/Nouakchott';
$lang['tz_env']['87'] = 'Africa/Ouagadougou';
$lang['tz_env']['88'] = 'Africa/Porto-Novo';
$lang['tz_env']['89'] = 'Indian/Reunion';
$lang['tz_env']['90'] = 'Africa/Sao_Tome';
$lang['tz_env']['91'] = 'Atlantic/St_Helena';
$lang['tz_env']['92'] = 'Africa/Tripoli';
$lang['tz_env']['93'] = 'Africa/Tunis';
$lang['tz_env']['94'] = 'Africa/Windhoek';
$lang['tz_env']['95'] = 'Antarctica/Casey';
$lang['tz_env']['96'] = 'Antarctica/Davis';
$lang['tz_env']['97'] = 'Antarctica/DumontDUrville';
$lang['tz_env']['98'] = 'Indian/Kerguelen';
$lang['tz_env']['99'] = 'Antarctica/Mawson';
$lang['tz_env']['100'] = 'Antarctica/McMurdo';
$lang['tz_env']['101'] = 'Antarctica/Palmer';
$lang['tz_env']['102'] = 'Antarctica/Rothera';
$lang['tz_env']['103'] = 'Antarctica/Syowa';
$lang['tz_env']['104'] = 'Antarctica/Vostok';
$lang['tz_env']['105'] = 'Asia/Aden';
$lang['tz_env']['106'] = 'Asia/Almaty';
$lang['tz_env']['107'] = 'Asia/Amman';
$lang['tz_env']['108'] = 'Asia/Aqtau';
$lang['tz_env']['109'] = 'Asia/Aqtobe';
$lang['tz_env']['110'] = 'Asia/Ashgabat';
$lang['tz_env']['111'] = 'Asia/Baghdad';
$lang['tz_env']['112'] = 'Asia/Bahrain';
$lang['tz_env']['113'] = 'Asia/Baku';
$lang['tz_env']['114'] = 'Asia/Bangkok';
$lang['tz_env']['115'] = 'Asia/Beirut';
$lang['tz_env']['116'] = 'Asia/Bishkek';
$lang['tz_env']['117'] = 'Asia/Brunei';
$lang['tz_env']['118'] = 'Asia/Calcutta';
$lang['tz_env']['119'] = 'Indian/Chagos';
$lang['tz_env']['120'] = 'Asia/Choibalsan';
$lang['tz_env']['121'] = 'Asia/Chongqing';
$lang['tz_env']['122'] = 'Asia/Colombo';
$lang['tz_env']['123'] = 'Asia/Damascus';
$lang['tz_env']['124'] = 'Asia/Dhaka';
$lang['tz_env']['125'] = 'Asia/Dili';
$lang['tz_env']['126'] = 'Asia/Dubai';
$lang['tz_env']['127'] = 'Asia/Dushanbe';
$lang['tz_env']['128'] = 'Asia/Gaza';
$lang['tz_env']['129'] = 'Asia/Harbin';
$lang['tz_env']['130'] = 'Asia/Hong_Kong';
$lang['tz_env']['131'] = 'Asia/Hovd';
$lang['tz_env']['132'] = 'Asia/Jakarta';
$lang['tz_env']['133'] = 'Asia/Jayapura';
$lang['tz_env']['134'] = 'Asia/Jerusalem';
$lang['tz_env']['135'] = 'Asia/Kabul';
$lang['tz_env']['136'] = 'Asia/Karachi';
$lang['tz_env']['137'] = 'Asia/Kashgar';
$lang['tz_env']['138'] = 'Asia/Katmandu';
$lang['tz_env']['139'] = 'Asia/Kuala_Lumpur';
$lang['tz_env']['140'] = 'Asia/Kuching';
$lang['tz_env']['141'] = 'Asia/Kuwait';
$lang['tz_env']['142'] = 'Asia/Macau';
$lang['tz_env']['143'] = 'Asia/Makassar';
$lang['tz_env']['144'] = 'Indian/Maldives';
$lang['tz_env']['145'] = 'Asia/Manila';
$lang['tz_env']['146'] = 'Asia/Muscat';
$lang['tz_env']['147'] = 'Asia/Nicosia';
$lang['tz_env']['148'] = 'Asia/Oral';
$lang['tz_env']['149'] = 'Asia/Phnom_Penh';
$lang['tz_env']['150'] = 'Asia/Pontianak';
$lang['tz_env']['151'] = 'Asia/Pyongyang';
$lang['tz_env']['152'] = 'Asia/Qatar';
$lang['tz_env']['153'] = 'Asia/Qyzylorda';
$lang['tz_env']['154'] = 'Asia/Rangoon';
$lang['tz_env']['155'] = 'Asia/Riyadh';
$lang['tz_env']['156'] = 'Asia/Saigon';
$lang['tz_env']['157'] = 'Asia/Samarkand';
$lang['tz_env']['158'] = 'Asia/Seoul';
$lang['tz_env']['159'] = 'Asia/Shanghai';
$lang['tz_env']['160'] = 'Asia/Singapore';
$lang['tz_env']['161'] = 'Asia/Taipei';
$lang['tz_env']['162'] = 'Asia/Tashkent';
$lang['tz_env']['163'] = 'Asia/Tbilisi';
$lang['tz_env']['164'] = 'Asia/Tehran';
$lang['tz_env']['165'] = 'Asia/Thimphu';
$lang['tz_env']['166'] = 'Asia/Tokyo';
$lang['tz_env']['167'] = 'Asia/Ulaanbaatar';
$lang['tz_env']['168'] = 'Asia/Urumqi';
$lang['tz_env']['169'] = 'Asia/Vientiane';
$lang['tz_env']['170'] = 'Asia/Yerevan';
$lang['tz_env']['171'] = 'Australia/Adelaide';
$lang['tz_env']['172'] = 'Pacific/Apia';
$lang['tz_env']['173'] = 'Pacific/Auckland';
$lang['tz_env']['174'] = 'Australia/Brisbane';
$lang['tz_env']['175'] = 'Australia/Broken_Hill';
$lang['tz_env']['176'] = 'Pacific/Chatham';
$lang['tz_env']['177'] = 'Indian/Christmas';
$lang['tz_env']['178'] = 'Indian/Cocos';
$lang['tz_env']['179'] = 'Australia/Currie';
$lang['tz_env']['180'] = 'Australia/Darwin';
$lang['tz_env']['181'] = 'Pacific/Efate';
$lang['tz_env']['182'] = 'Pacific/Enderbury';
$lang['tz_env']['183'] = 'Pacific/Fakaofo';
$lang['tz_env']['184'] = 'Pacific/Fiji';
$lang['tz_env']['185'] = 'Pacific/Funafuti';
$lang['tz_env']['186'] = 'Pacific/Gambier';
$lang['tz_env']['187'] = 'Pacific/Guadalcanal';
$lang['tz_env']['188'] = 'Pacific/Guam';
$lang['tz_env']['189'] = 'Australia/Hobart';
$lang['tz_env']['190'] = 'Pacific/Johnston';
$lang['tz_env']['191'] = 'Pacific/Kiritimati';
$lang['tz_env']['192'] = 'Pacific/Kosrae';
$lang['tz_env']['193'] = 'Pacific/Kwajalein';
$lang['tz_env']['194'] = 'Australia/Lindeman';
$lang['tz_env']['195'] = 'Australia/Lord_Howe';
$lang['tz_env']['196'] = 'Pacific/Majuro';
$lang['tz_env']['197'] = 'Pacific/Marquesas';
$lang['tz_env']['198'] = 'Australia/Melbourne';
$lang['tz_env']['199'] = 'Pacific/Midway';
$lang['tz_env']['200'] = 'Pacific/Nauru';
$lang['tz_env']['201'] = 'Pacific/Niue';
$lang['tz_env']['202'] = 'Pacific/Norfolk';
$lang['tz_env']['203'] = 'Pacific/Noumea';
$lang['tz_env']['204'] = 'Pacific/Pago_Pago';
$lang['tz_env']['205'] = 'Pacific/Palau';
$lang['tz_env']['206'] = 'Australia/Perth';
$lang['tz_env']['207'] = 'Pacific/Pitcairn';
$lang['tz_env']['208'] = 'Pacific/Ponape';
$lang['tz_env']['209'] = 'Pacific/Port_Moresby';
$lang['tz_env']['210'] = 'Pacific/Rarotonga';
$lang['tz_env']['211'] = 'Pacific/Saipan';
$lang['tz_env']['212'] = 'Australia/Sydney';
$lang['tz_env']['213'] = 'Pacific/Tahiti';
$lang['tz_env']['214'] = 'Pacific/Tarawa';
$lang['tz_env']['215'] = 'Pacific/Tongatapu';
$lang['tz_env']['216'] = 'Pacific/Truk';
$lang['tz_env']['217'] = 'Pacific/Wake';
$lang['tz_env']['218'] = 'Pacific/Wallis';
$lang['tz_env']['219'] = 'Europe/Amsterdam';
$lang['tz_env']['220'] = 'Asia/Anadyr';
$lang['tz_env']['221'] = 'Europe/Andorra';
$lang['tz_env']['222'] = 'Europe/Athens';
$lang['tz_env']['223'] = 'Atlantic/Azores';
$lang['tz_env']['224'] = 'Europe/Belgrade';
$lang['tz_env']['225'] = 'Europe/Berlin';
$lang['tz_env']['226'] = 'Europe/Brussels';
$lang['tz_env']['227'] = 'Europe/Bucharest';
$lang['tz_env']['228'] = 'Europe/Budapest';
$lang['tz_env']['229'] = 'Atlantic/Canary';
$lang['tz_env']['230'] = 'Africa/Ceuta';
$lang['tz_env']['231'] = 'Europe/Chisinau';
$lang['tz_env']['232'] = 'Europe/Copenhagen';
$lang['tz_env']['233'] = 'America/Danmarkshavn';
$lang['tz_env']['234'] = 'Europe/Dublin';
$lang['tz_env']['235'] = 'CET';
$lang['tz_env']['236'] = 'EET';
$lang['tz_env']['237'] = 'MET';
$lang['tz_env']['238'] = 'WET';
$lang['tz_env']['239'] = 'Atlantic/Faeroe';
$lang['tz_env']['240'] = 'Europe/Gibraltar';
$lang['tz_env']['241'] = 'America/Godthab';
$lang['tz_env']['242'] = 'Europe/Helsinki';
$lang['tz_env']['243'] = 'Asia/Irkutsk';
$lang['tz_env']['244'] = 'Europe/Istanbul';
$lang['tz_env']['245'] = 'Europe/Kaliningrad';
$lang['tz_env']['246'] = 'Asia/Kamchatka';
$lang['tz_env']['247'] = 'Europe/Kiev';
$lang['tz_env']['248'] = 'Asia/Krasnoyarsk';
$lang['tz_env']['249'] = 'Europe/Lisbon';
$lang['tz_env']['250'] = 'Europe/London';
$lang['tz_env']['251'] = 'Europe/Luxembourg';
$lang['tz_env']['252'] = 'Atlantic/Madeira';
$lang['tz_env']['253'] = 'Europe/Madrid';
$lang['tz_env']['254'] = 'Asia/Magadan';
$lang['tz_env']['255'] = 'Europe/Malta';
$lang['tz_env']['256'] = 'Europe/Minsk';
$lang['tz_env']['257'] = 'Europe/Monaco';
$lang['tz_env']['258'] = 'Europe/Moscow';
$lang['tz_env']['259'] = 'Asia/Novosibirsk';
$lang['tz_env']['260'] = 'Asia/Omsk';
$lang['tz_env']['261'] = 'Europe/Oslo';
$lang['tz_env']['262'] = 'Europe/Paris';
$lang['tz_env']['263'] = 'Europe/Prague';
$lang['tz_env']['264'] = 'Atlantic/Reykjavik';
$lang['tz_env']['265'] = 'Europe/Riga';
$lang['tz_env']['266'] = 'Europe/Rome';
$lang['tz_env']['267'] = 'Asia/Sakhalin';
$lang['tz_env']['268'] = 'Europe/Samara';
$lang['tz_env']['269'] = 'America/Scoresbysund';
$lang['tz_env']['270'] = 'Europe/Simferopol';
$lang['tz_env']['271'] = 'Europe/Sofia';
$lang['tz_env']['272'] = 'Europe/Stockholm';
$lang['tz_env']['273'] = 'Europe/Tallinn';
$lang['tz_env']['274'] = 'America/Thule';
$lang['tz_env']['275'] = 'Europe/Tirane';
$lang['tz_env']['276'] = 'Europe/Uzhgorod';
$lang['tz_env']['277'] = 'Europe/Vaduz';
$lang['tz_env']['278'] = 'Europe/Vienna';
$lang['tz_env']['279'] = 'Europe/Vilnius';
$lang['tz_env']['280'] = 'Asia/Vladivostok';
$lang['tz_env']['281'] = 'Europe/Warsaw';
$lang['tz_env']['282'] = 'Asia/Yakutsk';
$lang['tz_env']['283'] = 'Asia/Yekaterinburg';
$lang['tz_env']['284'] = 'Europe/Zaporozhye';
$lang['tz_env']['285'] = 'Europe/Zurich';
$lang['tz_env']['286'] = 'America/Adak';
$lang['tz_env']['287'] = 'America/Anchorage';
$lang['tz_env']['288'] = 'America/Anguilla';
$lang['tz_env']['289'] = 'America/Antigua';
$lang['tz_env']['290'] = 'America/Barbados';
$lang['tz_env']['291'] = 'America/Belize';
$lang['tz_env']['292'] = 'Atlantic/Bermuda';
$lang['tz_env']['293'] = 'America/Boise';
$lang['tz_env']['294'] = 'America/Cambridge_Bay';
$lang['tz_env']['295'] = 'America/Cancun';
$lang['tz_env']['296'] = 'America/Cayman';
$lang['tz_env']['297'] = 'America/Chicago';
$lang['tz_env']['298'] = 'America/Chihuahua';
$lang['tz_env']['299'] = 'America/Coral_Harbour';
$lang['tz_env']['300'] = 'America/Costa_Rica';
$lang['tz_env']['301'] = 'America/Dawson';
$lang['tz_env']['302'] = 'America/Dawson_Creek';
$lang['tz_env']['303'] = 'America/Denver';
$lang['tz_env']['304'] = 'America/Detroit';
$lang['tz_env']['305'] = 'America/Dominica';
$lang['tz_env']['306'] = 'America/Edmonton';
$lang['tz_env']['307'] = 'America/El_Salvador';
$lang['tz_env']['308'] = 'America/Glace_Bay';
$lang['tz_env']['309'] = 'America/Goose_Bay';
$lang['tz_env']['310'] = 'America/Grand_Turk';
$lang['tz_env']['311'] = 'America/Grenada';
$lang['tz_env']['312'] = 'America/Guadeloupe';
$lang['tz_env']['313'] = 'America/Guatemala';
$lang['tz_env']['314'] = 'America/Halifax';
$lang['tz_env']['315'] = 'America/Havana';
$lang['tz_env']['316'] = 'America/Hermosillo';
$lang['tz_env']['317'] = 'Pacific/Honolulu';
$lang['tz_env']['318'] = 'America/Indiana/Indianapolis';
$lang['tz_env']['319'] = 'America/Indiana/Knox';
$lang['tz_env']['320'] = 'America/Indiana/Marengo';
$lang['tz_env']['321'] = 'America/Indiana/Petersburg';
$lang['tz_env']['322'] = 'America/Indiana/Vevay';
$lang['tz_env']['323'] = 'America/Indiana/Vincennes';
$lang['tz_env']['324'] = 'America/Inuvik';
$lang['tz_env']['325'] = 'America/Iqaluit';
$lang['tz_env']['326'] = 'America/Jamaica';
$lang['tz_env']['327'] = 'America/Juneau';
$lang['tz_env']['328'] = 'America/Kentucky/Louisville';
$lang['tz_env']['329'] = 'America/Kentucky/Monticello';
$lang['tz_env']['330'] = 'America/Los_Angeles';
$lang['tz_env']['331'] = 'America/Managua';
$lang['tz_env']['332'] = 'America/Martinique';
$lang['tz_env']['333'] = 'America/Mazatlan';
$lang['tz_env']['334'] = 'America/Menominee';
$lang['tz_env']['335'] = 'America/Merida';
$lang['tz_env']['336'] = 'America/Mexico_City';
$lang['tz_env']['337'] = 'America/Miquelon';
$lang['tz_env']['338'] = 'America/Moncton';
$lang['tz_env']['339'] = 'America/Monterrey';
$lang['tz_env']['340'] = 'America/Montreal';
$lang['tz_env']['341'] = 'America/Montserrat';
$lang['tz_env']['342'] = 'America/Nassau';
$lang['tz_env']['343'] = 'America/New_York';
$lang['tz_env']['344'] = 'America/Nipigon';
$lang['tz_env']['345'] = 'America/Nome';
$lang['tz_env']['346'] = 'America/North_Dakota/Center';
$lang['tz_env']['347'] = 'America/Panama';
$lang['tz_env']['348'] = 'America/Pangnirtung';
$lang['tz_env']['349'] = 'America/Phoenix';
$lang['tz_env']['350'] = 'America/Port-au-Prince';
$lang['tz_env']['351'] = 'America/Puerto_Rico';
$lang['tz_env']['352'] = 'America/Rainy_River';
$lang['tz_env']['353'] = 'America/Rankin_Inlet';
$lang['tz_env']['354'] = 'America/Regina';
$lang['tz_env']['355'] = 'America/Santo_Domingo';
$lang['tz_env']['356'] = 'America/St_Johns';
$lang['tz_env']['357'] = 'America/St_Kitts';
$lang['tz_env']['358'] = 'America/St_Lucia';
$lang['tz_env']['359'] = 'America/St_Thomas';
$lang['tz_env']['360'] = 'America/St_Vincent';
$lang['tz_env']['361'] = 'America/Swift_Current';
$lang['tz_env']['362'] = 'America/Tegucigalpa';
$lang['tz_env']['363'] = 'America/Thunder_Bay';
$lang['tz_env']['364'] = 'America/Tijuana';
$lang['tz_env']['365'] = 'America/Toronto';
$lang['tz_env']['366'] = 'America/Tortola';
$lang['tz_env']['367'] = 'America/Vancouver';
$lang['tz_env']['368'] = 'America/Whitehorse';
$lang['tz_env']['369'] = 'America/Winnipeg';
$lang['tz_env']['370'] = 'America/Yakutat';
$lang['tz_env']['371'] = 'America/Yellowknife';
$lang['tz_env']['372'] = 'America/Araguaina';
$lang['tz_env']['373'] = 'America/Aruba';
$lang['tz_env']['374'] = 'America/Asuncion';
$lang['tz_env']['375'] = 'America/Bahia';
$lang['tz_env']['376'] = 'America/Belem';
$lang['tz_env']['377'] = 'America/Boa_Vista';
$lang['tz_env']['378'] = 'America/Bogota';
$lang['tz_env']['379'] = 'Argentina/Buenos_Aires';
$lang['tz_env']['380'] = 'America/Campo_Grande';
$lang['tz_env']['381'] = 'America/Caracas';
$lang['tz_env']['382'] = 'Argentina/Catamarca';
$lang['tz_env']['383'] = 'America/Cayenne';
$lang['tz_env']['384'] = 'Argentina/Cordoba';
$lang['tz_env']['385'] = 'America/Cuiaba';
$lang['tz_env']['386'] = 'America/Curacao';
$lang['tz_env']['387'] = 'Pacific/Easter';
$lang['tz_env']['388'] = 'America/Eirunepe';
$lang['tz_env']['389'] = 'America/Fortaleza';
$lang['tz_env']['390'] = 'Pacific/Galapagos';
$lang['tz_env']['391'] = 'America/Guayaquil';
$lang['tz_env']['392'] = 'America/Guyana';
$lang['tz_env']['393'] = 'Argentina/Jujuy';
$lang['tz_env']['394'] = 'America/La_Paz';
$lang['tz_env']['395'] = 'Argentina/La_Rioja';
$lang['tz_env']['396'] = 'America/Lima';
$lang['tz_env']['397'] = 'America/Maceio';
$lang['tz_env']['398'] = 'America/Manaus';
$lang['tz_env']['399'] = 'Argentina/Mendoza';
$lang['tz_env']['400'] = 'America/Montevideo';
$lang['tz_env']['401'] = 'America/Noronha';
$lang['tz_env']['402'] = 'America/Paramaribo';
$lang['tz_env']['403'] = 'America/Port_of_Spain';
$lang['tz_env']['404'] = 'America/Porto_Velho';
$lang['tz_env']['405'] = 'America/Recife';
$lang['tz_env']['406'] = 'America/Rio_Branco';
$lang['tz_env']['407'] = 'Argentina/Rio_Gallegos';
$lang['tz_env']['408'] = 'Argentina/San_Juan';
$lang['tz_env']['409'] = 'America/Santiago';
$lang['tz_env']['410'] = 'America/Sao_Paulo';
$lang['tz_env']['411'] = 'Atlantic/South_Georgia';
$lang['tz_env']['412'] = 'Atlantic/Stanley';
$lang['tz_env']['413'] = 'Argentina/Tucuman';
$lang['tz_env']['414'] = 'Argentina/Ushuaia';

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/functions.php
# 
#-----[ FIND ]------------------------------------------ 
# 
	return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz)), $translate) : @gmdate($format, $gmepoch + (3600 * $tz));
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
	putenv("TZ=" . $lang['tz_env'][intval($tz)]);
	return ( !empty($translate) ) ? strtr(@date($format, $gmepoch), $translate) : @date($format, $gmepoch);
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 

sbourdon
Registered User
Posts: 174
Joined: Sat Nov 13, 2004 6:29 pm

Re: [Beta] Display date with daylight savings time

Post by sbourdon » Sat Nov 08, 2008 12:03 pm

Hello,

Will this modification automatically modify the user timezones when DST kicks in (in my case, March 8th, 2009)? And will the timezones automatically be set back to regular time (no DST) when appropriate?

Thanks! ;)

Post Reply

Return to “[2.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 2 guests