From 457e13634e3b371fbb5fbf1116c761311a683957 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 19 Sep 2014 23:45:03 +0200 Subject: [PATCH] [ticket/12858] Properly format UTC offset in footer PHPBB3-12858 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4cb4170ac6..9bafb48f6b 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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])) {