Make WordPress Core

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


Ignore:
Timestamp:
01/05/2018 02:28:22 PM (7 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43028, comment 1

    v3 v4  
    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.
     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);}}}.
    1515
    1616