mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-15 22:26:32 +02:00
[feature/new-tz-handling] Remove case mangling, the identifiers are correct.
PHPBB3-9558
This commit is contained in:
committed by
Oleg Pudeyev
parent
0f320a6c48
commit
190b019fa2
@ -1098,9 +1098,9 @@ function tz_select($default = '', $truncate = false)
|
|||||||
{
|
{
|
||||||
// No label, we'll figure one out
|
// No label, we'll figure one out
|
||||||
// @todo rtl languages?
|
// @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)
|
if ($truncate)
|
||||||
|
Reference in New Issue
Block a user