1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 12:33:29 +01:00

[feature/new-tz-handling] Remove case mangling, the identifiers are correct.

PHPBB3-9558
This commit is contained in:
Chris Smith 2010-07-08 22:09:24 +01:00 committed by Oleg Pudeyev
parent 0f320a6c48
commit 190b019fa2

View File

@ -1098,9 +1098,9 @@ function tz_select($default = '', $truncate = false)
{
// No label, we'll figure one out
// @todo rtl languages?
$bits = explode('/', strtolower(str_replace('_', ' ', $timezone)));
$bits = explode('/', str_replace('_', ' ', $timezone));
$title = $label = ucwords(implode(' - ', $bits));
$title = $label = implode(' - ', $bits);
}
if ($truncate)