TEST debug left in the luxon datetime plugin

pull/539/head
Colin Marks 2 years ago
parent 36ef8a6a3b
commit 06210a13dd

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