aboutsummaryrefslogtreecommitdiffstats
path: root/ui/i18n/ui.datepicker-fr-CH.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/i18n/ui.datepicker-fr-CH.js')
-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