1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/16159] Use predefined DATE_RFC3339

PHPBB3-16159
This commit is contained in:
stevendegroote
2019-09-18 20:58:13 +02:00
parent f8967fec78
commit 8160a8a1ef
4 changed files with 8 additions and 8 deletions

View File

@@ -2044,7 +2044,7 @@ for ($i = 0, $end = count($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_DATE_RFC3339' => gmdate(DATE_RFC3339, $row['post_time']),
'POST_SUBJECT' => $row['post_subject'],
'MESSAGE' => $message,
'SIGNATURE' => ($row['enable_sig']) ? $user_cache[$poster_id]['sig'] : '',