aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorstevendegroote <stevendegroote@gmail.com>2019-09-17 23:01:59 +0200
committerstevendegroote <stevendegroote@gmail.com>2019-09-17 23:01:59 +0200
commitce93b224107a65b43253c36812b636321eb55a78 (patch)
tree8c13d381229ab0f063e926ae5de424b1c982b231 /phpBB/viewtopic.php
parent1d12d76790a2fa6d1fc746302cb2a33ec41c3341 (diff)
downloadforums-ce93b224107a65b43253c36812b636321eb55a78.tar
forums-ce93b224107a65b43253c36812b636321eb55a78.tar.gz
forums-ce93b224107a65b43253c36812b636321eb55a78.tar.bz2
forums-ce93b224107a65b43253c36812b636321eb55a78.tar.xz
forums-ce93b224107a65b43253c36812b636321eb55a78.zip
[ticket/16159] Wrap post times in html time tag
PHPBB3-16159
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index c94675a741..a1dc60955c 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1934,6 +1934,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'CONTACT_USER' => $user_cache[$poster_id]['contact_user'],
'POST_DATE' => $user->format_date($row['post_time'], false, ($view == 'print') ? true : false),
+ 'POST_DATE_RFC3339' => gmdate("Y-m-d H:i:sP", $row['post_time']),
'POST_SUBJECT' => $row['post_subject'],
'MESSAGE' => $message,
'SIGNATURE' => ($row['enable_sig']) ? $user_cache[$poster_id]['sig'] : '',