From 51d48897cae52b333932eb33aa797e0906b24361 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 4 Jan 2016 11:03:43 +0000 Subject: [PATCH] Bug 14060: Add support for dmydot --- koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc index 1b9e48b..0eb2c7f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -19,6 +19,9 @@ function is_valid_date(date) { } else if (dateformat == 'iso' ) { dateformat = 'yy-mm-dd'; dateformat_str = 'yyyy-mm-dd'; + } else if ( dateformat == 'dmydot' ) { + dateformat = 'dd.mm.yy'; + dateformat_str = 'dd.mm.yyyy'; } try { $.datepicker.parseDate(dateformat, date); -- 2.8.1