From fb234617423b4e1e219b64097278bd3865e88bf2 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 18 Nov 2021 09:23:51 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@52203 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/update-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 4aaa0bf725..ea9df4eeba 100644 --- a/src/wp-admin/update-core.php +++ b/src/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 '

';