[wp-trac] [WordPress Trac] #29420: jQuery datepicker should be using the locale
WordPress Trac
noreply at wordpress.org
Sun Jun 12 21:17:36 UTC 2016
#29420: jQuery datepicker should be using the locale
-------------------------------------+-------------------------
Reporter: zodiac1978 | Owner: swissspidy
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui
-------------------------------------+-------------------------
Comment (by barryceelen):
@ocean90 Cool, seems to work as expected!
I guess it is somewhat unfortunate that it is not possible to use ordinals
S (st, nd, rd) as that is not supported by the jQuery UI date format.
Plugin developers can set their own format and/or callback on insert to
provide that kind of stuff so I'm not sure if that is an issue in the
context of this ticket.
Perhaps the function doc should point out the fact that a one-to-one
mapping is not possible, or is it expected from devs to have this figured
out already?
@zodiac1978 The `d. MM yy` (j. F Y) german date format comes from the
german translation files (and appears to be an accepted date standard
according to https://en.wikipedia.org/wiki/Date_format_by_country).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29420#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list