mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12858] Properly format UTC offset in footer
PHPBB3-12858
This commit is contained in:
parent
f4761b5e08
commit
457e13634e
1 changed files with 1 additions and 1 deletions
|
@ -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]))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue