mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/new-tz-handling] Prefix function with phpbb_
PHPBB3-9558
This commit is contained in:
parent
a613caab09
commit
c7d32a1b2d
1 changed files with 2 additions and 2 deletions
|
@ -1093,7 +1093,7 @@ function phpbb_format_timezone_offset($tz_offset)
|
||||||
* Arranges them in increasing order by timezone offset.
|
* Arranges them in increasing order by timezone offset.
|
||||||
* Places UTC before other timezones in the same offset.
|
* Places UTC before other timezones in the same offset.
|
||||||
*/
|
*/
|
||||||
function tz_select_compare($a, $b)
|
function phpbb_tz_select_compare($a, $b)
|
||||||
{
|
{
|
||||||
$a_sign = $a[3];
|
$a_sign = $a[3];
|
||||||
$b_sign = $b[3];
|
$b_sign = $b[3];
|
||||||
|
@ -1178,7 +1178,7 @@ function tz_select($default = '', $truncate = false, $return_tzs_only = true)
|
||||||
}
|
}
|
||||||
unset($unsorted_timezones);
|
unset($unsorted_timezones);
|
||||||
|
|
||||||
uksort($timezones, 'tz_select_compare');
|
uksort($timezones, 'phpbb_tz_select_compare');
|
||||||
}
|
}
|
||||||
|
|
||||||
$tz_select = $tz_dates = $opt_group = '';
|
$tz_select = $tz_dates = $opt_group = '';
|
||||||
|
|
Loading…
Add table
Reference in a new issue