From b3b8d6959c76199d3c67b08951fbf0967ede3e27 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 18 Nov 2021 09:25:03 +0000 Subject: [PATCH] Upgrade/Install: Add timezone info to last checked update time. The time displayed on the Updates screen matches the server time which may not be the timezone the person viewing the page is in. This change includes the timezone information with the time. Props mkaz. Fixes #53554. Built from https://develop.svn.wordpress.org/trunk@52203 git-svn-id: http://core.svn.wordpress.org/trunk@51795 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-core.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 4aaa0bf725..ea9df4eeba 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -1046,7 +1046,7 @@ if ( 'upgrade-core' === $action ) { echo '

'; /* translators: 1: Date, 2: Time. */ - printf( __( 'Last checked on %1$s at %2$s.' ), date_i18n( __( 'F j, Y' ), $last_update_check ), date_i18n( __( 'g:i a' ), $last_update_check ) ); + printf( __( 'Last checked on %1$s at %2$s.' ), date_i18n( __( 'F j, Y' ), $last_update_check ), date_i18n( __( 'g:i a T' ), $last_update_check ) ); echo ' ' . __( 'Check again.' ) . ''; echo '

'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 4292dd31e5..7cc9d3b16b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52202'; +$wp_version = '5.9-alpha-52203'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.