From 882be65f94d74d434ebb99018d63ee3c16ba1751 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 21 Nov 2019 16:27:03 +0000 Subject: [PATCH] Date/Time: Correct the time format in `get_feed_build_date()` to use 24-hour format. Follow-up to [46756]. See #48675. Built from https://develop.svn.wordpress.org/trunk@46757 git-svn-id: http://core.svn.wordpress.org/trunk@46557 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index 88f7af44f8..2670ee1fe2 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -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' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 474d7f79af..cb5b6c229f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46756'; +$wp_version = '5.4-alpha-46757'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.