[wp-trac] [WordPress Trac] #31121: Add leading zeros to 24 hour date formats

WordPress Trac noreply at wordpress.org
Mon Mar 23 02:13:52 UTC 2015


#31121: Add leading zeros to 24 hour date formats
------------------------------+---------------------
 Reporter:  iseulde           |       Owner:  dd32
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.2
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Changes (by dd32):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31862"]:
 {{{
 #!CommitTicketReference repository="" revision="31862"
 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
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31121#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list