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

WordPress Trac noreply at wordpress.org
Sun Jun 12 19:46:21 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 zodiac1978):

 Replying to [comment:17 ocean90]:
 > But there needs to be a dev-note on make/core too. Maybe @zodiac1978
 want's to prepare the post?

 I'm happy to help with a post. @ocean90 Could you scan the plugin repo for
 plugins using the jQuery l18n files, so we can ping the plugin authors
 that they can remove the code? (See: https://github.com/jquery/jquery-
 ui/tree/master/ui/i18n )

 It looks like
 https://core.trac.wordpress.org/attachment/ticket/29420/29420.3.diff is
 still having some issues with the date format. I get `"dateFormat":"d. MM
 yy"` for German - but this should be `dateFormat: "dd.mm.yy",`

 And we could add these three parameter:
 {{{
 weekHeader: "KW",
 showMonthAfterYear: false,
 yearSuffix: ""
 }}}

 The last two parameters are used from the Japanese, Korean and Chinese
 languages. Maybe someone from these communities can help here, if this
 information is stored in WP.

 I've tried the patch from @ocean90 with Contact Form 7 and the HTML5
 fallback (which just enqueues the jQuery datepicker) and besides the
 mentioned problems it works very fine so far.

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


More information about the wp-trac mailing list