WordPress.org

Make WordPress Core

Changeset 46757


Ignore:
Timestamp:
11/21/2019 04:25:38 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [46756].

See #48675.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed.php

    r46756 r46757  
    684684    // Determine the maximum modified time.
    685685    $datetime = date_create_immutable_from_format(
    686         'Y-m-d h:i:s',
     686        'Y-m-d H:i:s',
    687687        max( $modified_times ),
    688688        new DateTimeZone( 'UTC' )
Note: See TracChangeset for help on using the changeset viewer.