From 06210a13dd4c7c58f5567ba9604bb4e390102b20 Mon Sep 17 00:00:00 2001 From: Colin Marks Date: Fri, 29 Apr 2022 09:17:56 +0100 Subject: [PATCH] TEST debug left in the luxon datetime plugin --- sorting/datetime-luxon.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sorting/datetime-luxon.js b/sorting/datetime-luxon.js index 9baf91f..f743816 100644 --- a/sorting/datetime-luxon.js +++ b/sorting/datetime-luxon.js @@ -52,10 +52,6 @@ $.fn.dataTable.luxon = function ( format, locale, reverseEmpties ) { return 'luxon-'+format; } - if(!luxon.DateTime.fromFormat( d, format).isValid) { - console.log("pause") - } - return luxon.DateTime.fromFormat( d, format).isValid ? 'luxon-'+format : null; @@ -71,4 +67,4 @@ $.fn.dataTable.luxon = function ( format, locale, reverseEmpties ) { }; }; -})); \ No newline at end of file +}));