aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorstevendegroote <stevendegroote@gmail.com>2019-09-18 20:58:13 +0200
committerstevendegroote <stevendegroote@gmail.com>2019-09-18 20:58:13 +0200
commit8160a8a1efe06de06a199be5c7e8262e0c199873 (patch)
tree8fcaa35b6d797319c29cdcbfb4ca4d96aa185b89 /phpBB/includes/functions_display.php
parentf8967fec78d826ea8d9ca34f65966ff8a7674b47 (diff)
downloadforums-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/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index d0a0c97c4e..f8c882e771 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -547,7 +547,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
$last_post_subject = $last_post_subject_truncated = '';
}
$last_post_time = $user->format_date($row['forum_last_post_time']);
- $last_post_time_rfc3339 = gmdate("Y-m-d H:i:sP", $row['forum_last_post_time']);
+ $last_post_time_rfc3339 = gmdate(DATE_RFC3339, $row['forum_last_post_time']);
$last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&amp;p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
}
else