Marco van Herwaarden
11-21-2005, 10:00 PM
I posted this as a solution to a users question, but i better release it here also, since it could help others.
The example is for Nepal timezone (GMT+5:45, +575 decimal) but you can adjust it to the zone you need.
1) Create a new phrase:
Phrasetype: Timezones
Varname: timezone_gmt_plus_0545
Text: (GMT +5:45) Nepal Standard Time
2) Edit ./includes/adminfunctions.php
Find:
'5.5' => $vbphrase['timezone_gmt_plus_0530'],Add under: '5.75' => $vbphrase['timezone_gmt_plus_0545'],
3) Edit ./includes/functions_misc.php
Find:
'5.5' => 'timezone_gmt_plus_0530',Add Under: '5.75' => 'timezone_gmt_plus_0545',
The example is for Nepal timezone (GMT+5:45, +575 decimal) but you can adjust it to the zone you need.
1) Create a new phrase:
Phrasetype: Timezones
Varname: timezone_gmt_plus_0545
Text: (GMT +5:45) Nepal Standard Time
2) Edit ./includes/adminfunctions.php
Find:
'5.5' => $vbphrase['timezone_gmt_plus_0530'],Add under: '5.75' => $vbphrase['timezone_gmt_plus_0545'],
3) Edit ./includes/functions_misc.php
Find:
'5.5' => 'timezone_gmt_plus_0530',Add Under: '5.75' => 'timezone_gmt_plus_0545',