Date/Time: Correct the time format in get_feed_build_date() to use 24-hour format.

Follow-up to [46756].

See #48675.

git-svn-id: https://develop.svn.wordpress.org/trunk@46757 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-11-21 16:25:38 +00:00
parent 6ce8175456
commit 172f434332

View File

@@ -683,7 +683,7 @@ function get_feed_build_date( $format ) {
// Determine the maximum modified time.
$datetime = date_create_immutable_from_format(
'Y-m-d h:i:s',
'Y-m-d H:i:s',
max( $modified_times ),
new DateTimeZone( 'UTC' )
);