diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php
index 06f8836c76..02fae6ed25 100644
a
|
b
|
class WP_Posts_List_Table extends WP_List_Table { |
1159 | 1159 | public function column_date( $post ) { |
1160 | 1160 | global $mode; |
1161 | 1161 | |
1162 | | if ( '0000-00-00 00:00:00' === $post->post_date ) { |
| 1162 | if ( '0000-00-00 00:00:00' === $post->post_date_gmt ) { |
1163 | 1163 | $t_time = __( 'Unpublished' ); |
1164 | 1164 | $time_diff = 0; |
1165 | 1165 | } else { |
… |
… |
class WP_Posts_List_Table extends WP_List_Table { |
1167 | 1167 | /* translators: 1: Post date, 2: Post time. */ |
1168 | 1168 | __( '%1$s at %2$s' ), |
1169 | 1169 | /* translators: Post date format. See https://www.php.net/manual/datetime.format.php */ |
1170 | | get_the_time( __( 'Y/m/d' ), $post ), |
| 1170 | wp_date( __( 'Y/m/d' ), get_post_time( 'U', true ) ), |
1171 | 1171 | /* translators: Post time format. See https://www.php.net/manual/datetime.format.php */ |
1172 | | get_the_time( __( 'g:i a' ), $post ) |
| 1172 | wp_date( __( 'g:i a' ), get_post_time( 'U', true ) ) |
1173 | 1173 | ); |
1174 | 1174 | |
1175 | 1175 | $time = get_post_timestamp( $post ); |