aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.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/viewforum.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/viewforum.php')
-rw-r--r--phpBB/viewforum.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 9cc75988f7..94309afc5a 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -892,9 +892,12 @@ if (sizeof($topic_list))
'TOPIC_AUTHOR_COLOUR' => get_username_string('colour', $row['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_colour']),
'TOPIC_AUTHOR_FULL' => get_username_string('full', $row['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_colour']),
'FIRST_POST_TIME' => $user->format_date($row['topic_time']),
+ 'FIRST_POST_TIME_RFC3339' => gmdate("Y-m-d H:i:sP", $row['topic_time']),
'LAST_POST_SUBJECT' => censor_text($row['topic_last_post_subject']),
'LAST_POST_TIME' => $user->format_date($row['topic_last_post_time']),
+ 'LAST_POST_TIME_RFC3339' => gmdate("Y-m-d H:i:sP", $row['topic_last_post_time']),
'LAST_VIEW_TIME' => $user->format_date($row['topic_last_view_time']),
+ 'LAST_VIEW_TIME_RFC3339' => gmdate("Y-m-d H:i:sP", $row['topic_last_view_time']),
'LAST_POST_AUTHOR' => get_username_string('username', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']),
'LAST_POST_AUTHOR_COLOUR' => get_username_string('colour', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']),
'LAST_POST_AUTHOR_FULL' => get_username_string('full', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']),