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

WordPress Trac noreply at wordpress.org
Mon Dec 14 21:42:51 UTC 2015


#29420: jQuery datepicker should be using the locale
-------------------------+------------------------------
 Reporter:  zodiac1978   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui
-------------------------+------------------------------

Comment (by swissspidy):

 The proposed solution in #14853 would help here a bit, I think.

 Using the potential `wp_add_inline_script` we could override the default
 settings of the date picker to use the WordPress locale. That way plugin
 developers don't have to do anything, it would ''just work''.

 Otherwise there wouldn't be a real benefit compared to just using the
 solution explained in http://www.renegadetechconsulting.com/tutorials
 /jquery-datepicker-and-wordpress-i18n in a plugin.

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


More information about the wp-trac mailing list