aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-09-21 14:17:11 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-09-21 14:17:11 +0200
commit84decb287599f4335e7c0511e9fde3a8f548ff00 (patch)
tree6fa8b273a332e4e92e2c6c4c4cef74fd1d19b405 /phpBB/search.php
parentc9c7df735cd2a8774ec6f90bf63cc5544e2de0a4 (diff)
parent8160a8a1efe06de06a199be5c7e8262e0c199873 (diff)
downloadforums-84decb287599f4335e7c0511e9fde3a8f548ff00.tar
forums-84decb287599f4335e7c0511e9fde3a8f548ff00.tar.gz
forums-84decb287599f4335e7c0511e9fde3a8f548ff00.tar.bz2
forums-84decb287599f4335e7c0511e9fde3a8f548ff00.tar.xz
forums-84decb287599f4335e7c0511e9fde3a8f548ff00.zip
Merge pull request #5692 from stevendegroote/ticket/16159
[ticket/16159] Wrap post times in html time tag
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 97a8f320d4..64f6041371 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -1093,9 +1093,12 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'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(DATE_RFC3339, $row['topic_time']),
'LAST_POST_SUBJECT' => $row['topic_last_post_subject'],
'LAST_POST_TIME' => $user->format_date($row['topic_last_post_time']),
+ 'LAST_POST_TIME_RFC3339' => gmdate(DATE_RFC3339, $row['topic_last_post_time']),
'LAST_VIEW_TIME' => $user->format_date($row['topic_last_view_time']),
+ 'LAST_VIEW_TIME_RFC3339' => gmdate(DATE_RFC3339, $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']),