[wp-trac] [WordPress Trac] #42394: Customize: Order of fields in date/time control does not honor locale
WordPress Trac
noreply at wordpress.org
Fri Nov 3 05:10:50 UTC 2017
#42394: Customize: Order of fields in date/time control does not honor locale
-------------------------------------------+--------------------------
Reporter: munyagu | Owner: westonruter
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.9
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit dev-reviewed | Focuses:
-------------------------------------------+--------------------------
Changes (by dlh):
* status: closed => reopened
* resolution: fixed =>
Comment:
If `date_format` is set to a custom string without at least one of the
month, day, or year tokens, then the Publish Settings are knocked out of
whack, as illustrated in the above screenshot with a `date_format` of
`Y-m`.
[attachment:42394.3.diff] includes one possible workaround of falling back
to the previously default date format if any of the three placeholders are
missing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42394#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list