diff options
author | stevendegroote <stevendegroote@gmail.com> | 2019-09-18 20:58:13 +0200 |
---|---|---|
committer | stevendegroote <stevendegroote@gmail.com> | 2019-09-18 20:58:13 +0200 |
commit | 8160a8a1efe06de06a199be5c7e8262e0c199873 (patch) | |
tree | 8fcaa35b6d797319c29cdcbfb4ca4d96aa185b89 /phpBB/viewforum.php | |
parent | f8967fec78d826ea8d9ca34f65966ff8a7674b47 (diff) | |
download | forums-8160a8a1efe06de06a199be5c7e8262e0c199873.tar forums-8160a8a1efe06de06a199be5c7e8262e0c199873.tar.gz forums-8160a8a1efe06de06a199be5c7e8262e0c199873.tar.bz2 forums-8160a8a1efe06de06a199be5c7e8262e0c199873.tar.xz forums-8160a8a1efe06de06a199be5c7e8262e0c199873.zip |
[ticket/16159] Use predefined DATE_RFC3339
PHPBB3-16159
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r-- | phpBB/viewforum.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index a77c08cdd0..0a5484cdf2 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -933,12 +933,12 @@ if (count($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']), + 'FIRST_POST_TIME_RFC3339' => gmdate(DATE_RFC3339, $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_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("Y-m-d H:i:sP", $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']), |