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:
parent
363e45a5eb
commit
edd555df4d
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue