The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress Human Time Diff Reply To: WordPress Human Time Diff


Go to wp-admin/includes folder and look for the file class-wp-posts-list-table.php, then go to the line 634, you will see this:

$h_time = sprintf( __( '%s ago' ), human_time_diff( $time ) );

change this line to:

$h_time = sprintf( __( '%s' ), gmdate('Y/m/d g:i:s A', $time) );

This will display as this:

2014/03/11 8:08:54 PM

in the Date column.

Now, I’m not sure how to overwrite this without hacking WP core.

Hope that helps,