Remove ambiguity in the time display format in core, switches to using 24hr notation where am/pm isn't specified.
* `H:i - 09:54` * `g:i a - 9:54 am` * `F j, Y - January 3, 2015` These shouldn't be used without a/A (am/AM) * `h:i - 01:23` * `G:i - 1:23` Props iseulde. Fixes #31121 Built from https://develop.svn.wordpress.org/trunk@31862 git-svn-id: http://core.svn.wordpress.org/trunk@31841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -821,7 +821,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
$t_time = $h_time = __( 'Unpublished' );
|
||||
$time_diff = 0;
|
||||
} else {
|
||||
$t_time = get_the_time( __( 'Y/m/d g:i:s A' ) );
|
||||
$t_time = get_the_time( __( 'Y/m/d g:i:s a' ) );
|
||||
$m_time = $post->post_date;
|
||||
$time = get_post_time( 'G', true, $post );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user