WordPress.org

Make WordPress Core

Changes between Version 4 and Version 5 of Ticket #43028, comment 1


Ignore:
Timestamp:
01/05/2018 02:30:38 PM (4 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43028, comment 1

    v4 v5  
    1212https://core.trac.wordpress.org/browser/tags/4.9/src/wp-includes/customize/class-wp-customize-date-time-control.php#L194
    1313
    14 On my test install it shows as a {{{1-jan}}} format, compared to the {{{01-jan}}} format when editing post dates. That's because only the latter is zeroised with: {{{$monthnum = zeroise($i, 2);}}}.
     14On my test install it shows as a {{{1-jan}}} format, compared to the {{{01-jan}}} format when editing post dates. That's because only the latter is zeroised with: {{{$monthnum = zeroise($i, 2);}}}. At least these two should be using the same format (like {{{jan}}}, 1-jan or {{{01-jan}}}) for the sake of  constistency.
    1515
    1616