[wp-trac] [WordPress Trac] #29420: jQuery datepicker should be using the locale

WordPress Trac noreply at wordpress.org
Thu May 5 17:23:01 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
-------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 [attachment:29420.diff] is a proof-of-concept patch using
 `wp_add_inline_script()` and `wp_localize_script()` to automatically set
 the defaults for jQuery UI date picker.

 Note: #20558 would make the localizing part easier.

 Also, this might seem like plugin territory, but we might need this in
 core eventually. See #7665.

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


More information about the wp-trac mailing list