[wp-trac] [WordPress Trac] #29420: jQuery datepicker should be using the locale
WordPress Trac
noreply at wordpress.org
Wed Oct 29 19:36:57 UTC 2014
#29420: jQuery datepicker should be using the locale
-------------------------+------------------------------
Reporter: zodiac1978 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 3.9.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui
-------------------------+------------------------------
Comment (by wycks):
+1 I use this a lot. But a simpler solution by way of just using the
default call in `.datepicker `. It would be nice to just have the i18n
script available in WordPress.. For example:
{{{
// code that checks page language
$( selector ).datepicker( $.datepicker.regional[ "fr" ] ); //french
$.datepicker.setDefaults( $.datepicker.regional[ "" ] ); // restores
default language
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29420#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list