From: Keith Wood Date: Mon, 22 Jun 2009 02:43:30 +0000 (+0000) Subject: Datepicker: Fixed #4613 Datepicker Swiss-French (fr-CH) localization X-Git-Tag: 1.8a1~82 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=681bcc4ad06def86eeceabb8b8a062d36148cd5e;p=jquery-ui.git Datepicker: Fixed #4613 Datepicker Swiss-French (fr-CH) localization --- diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index f024230ac..49aacaa01 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -21,6 +21,7 @@ + @@ -86,6 +87,7 @@ + diff --git a/demos/index.html b/demos/index.html index 927416fbf..a11b45234 100644 --- a/demos/index.html +++ b/demos/index.html @@ -47,6 +47,7 @@ + diff --git a/ui/i18n/ui.datepicker-fr-CH.js b/ui/i18n/ui.datepicker-fr-CH.js new file mode 100644 index 000000000..0672c482c --- /dev/null +++ b/ui/i18n/ui.datepicker-fr-CH.js @@ -0,0 +1,7 @@ +/* Swiss-French initialisation for the jQuery UI date picker plugin. */ +/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */ +jQuery(function($){ + $.datepicker.regional['fr-CH'] = + $.extend({}, $.datepicker.regional['fr'], {dateFormat: 'dd.mm.yy'}); + $.datepicker.setDefaults($.datepicker.regional['fr-CH']); +}); \ No newline at end of file