Make WordPress Core


Ignore:
Timestamp:
03/23/2015 02:13:50 AM (10 years ago)
Author:
dd32
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r31841 r31862  
    822822                    $time_diff = 0;
    823823                } else {
    824                     $t_time = get_the_time( __( 'Y/m/d g:i:s A' ) );
     824                    $t_time = get_the_time( __( 'Y/m/d g:i:s a' ) );
    825825                    $m_time = $post->post_date;
    826826                    $time = get_post_time( 'G', true, $post );
Note: See TracChangeset for help on using the changeset viewer.