aboutsummaryrefslogtreecommitdiffstats
path: root/ui/i18n
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2009-06-22 02:43:30 +0000
committerKeith Wood <kbwood.au@gmail.com>2009-06-22 02:43:30 +0000
commit681bcc4ad06def86eeceabb8b8a062d36148cd5e (patch)
treef49bd51563c99f41bf179aaf877be5502a0ce019 /ui/i18n
parent35a4052aba3211a95a64391c06b28f533d337d4e (diff)
downloadjquery-ui-681bcc4ad06def86eeceabb8b8a062d36148cd5e.tar.gz
jquery-ui-681bcc4ad06def86eeceabb8b8a062d36148cd5e.zip
Datepicker: Fixed #4613 Datepicker Swiss-French (fr-CH) localization
Diffstat (limited to 'ui/i18n')
-rw-r--r--ui/i18n/ui.datepicker-fr-CH.js7
1 files changed, 7 insertions, 0 deletions
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