Add "-" as delimiter

pull/158/head
SaeX 10 years ago
parent f2c75b7247
commit 2954bd2f49

@ -32,7 +32,12 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, {
if (date.indexOf('.') > 0) {
/*date a, format dd.mn.(yyyy) ; (year is optional)*/
eu_date = date.split('.');
} else {
}
else if (date.indexOf('-') > 0) {
/*date a, format dd-mn-(yyyy) ; (year is optional)*/
eu_date = date.split('-');
}
else {
/*date a, format dd/mn/(yyyy) ; (year is optional)*/
eu_date = date.split('/');
}

Loading…
Cancel
Save