Merge branch 'master' of github.com:DataTables/Plugins

pull/556/merge
Allan Jardine 3 years ago
commit 3ef5647602

@ -52,10 +52,6 @@ $.fn.dataTable.luxon = function ( format, locale, reverseEmpties ) {
return 'luxon-'+format; return 'luxon-'+format;
} }
if(!luxon.DateTime.fromFormat( d, format).isValid) {
console.log("pause")
}
return luxon.DateTime.fromFormat( d, format).isValid ? return luxon.DateTime.fromFormat( d, format).isValid ?
'luxon-'+format : 'luxon-'+format :
null; null;
@ -71,4 +67,4 @@ $.fn.dataTable.luxon = function ( format, locale, reverseEmpties ) {
}; };
}; };
})); }));

Loading…
Cancel
Save