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

WordPress Trac noreply at wordpress.org
Tue Jun 7 21:42:49 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):

 Created a demo plugin [https://github.com/barryceelen/datepicker3000]
 which adds a date meta box to the post edit screen.

 Adding `get_option( 'date_format' )` to `$datepicker_args` won't cut it
 though as jQuery UI uses a different format
 http://api.jqueryui.com/datepicker/#option-dateFormat.

 [[Image(http://cobbledco.de/keep/trac29420.jpg)]]

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


More information about the wp-trac mailing list