aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-09-19 23:45:03 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-09-19 23:45:03 +0200
commit457e13634e3b371fbb5fbf1116c761311a683957 (patch)
treee8689959f6000f3d9ecbe64e090fedba498c21fa /phpBB/includes/functions.php
parentf4761b5e0847a95944aaf9b00057eaa059995b81 (diff)
downloadforums-457e13634e3b371fbb5fbf1116c761311a683957.tar
forums-457e13634e3b371fbb5fbf1116c761311a683957.tar.gz
forums-457e13634e3b371fbb5fbf1116c761311a683957.tar.bz2
forums-457e13634e3b371fbb5fbf1116c761311a683957.tar.xz
forums-457e13634e3b371fbb5fbf1116c761311a683957.zip
[ticket/12858] Properly format UTC offset in footer
PHPBB3-12858
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
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]))
{