From 681bcc4ad06def86eeceabb8b8a062d36148cd5e Mon Sep 17 00:00:00 2001 From: Keith Wood Date: Mon, 22 Jun 2009 02:43:30 +0000 Subject: [PATCH] Datepicker: Fixed #4613 Datepicker Swiss-French (fr-CH) localization --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/ui.datepicker-fr-CH.js | 7 +++++++ 3 files changed, 10 insertions(+) create mode 100644 ui/i18n/ui.datepicker-fr-CH.js 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 -- 2.39.5