Bug 14060: Add support for dmydot

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2016-01-04 11:03:43 +00:00 committed by Kyle M Hall
parent 363e45a5eb
commit edd555df4d

View file

@ -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);