mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +02:00
[ticket/12858] Properly format UTC offset in footer
PHPBB3-12858
This commit is contained in:
@@ -4918,7 +4918,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||
}
|
||||
|
||||
$dt = $user->create_datetime();
|
||||
$timezone_offset = $user->lang('UTC') . phpbb_format_timezone_offset($dt->getOffset());
|
||||
$timezone_offset = $user->lang(array('timezones', 'UTC_OFFSET'), phpbb_format_timezone_offset($dt->getOffset()));
|
||||
$timezone_name = $user->timezone->getName();
|
||||
if (isset($user->lang['timezones'][$timezone_name]))
|
||||
{
|
||||
|
Reference in New Issue
Block a user