From 0bb0384662f327f00ff7dd2e31506f3775051b37 Mon Sep 17 00:00:00 2001 From: Lele Gaifax Date: Sun, 11 Feb 2018 18:44:25 +0100 Subject: [PATCH] Fix a typo preventing rendering of null dates --- dataRender/intl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataRender/intl.js b/dataRender/intl.js index 5b1dd98..56fcde5 100644 --- a/dataRender/intl.js +++ b/dataRender/intl.js @@ -125,7 +125,7 @@ $.fn.dataTable.render.intlDateTime = function ( locale, options ) { if ( typeof data === 'string' ) { date = Date.parse( data ); } - else if ( d instanceof Date ) { + else if ( data instanceof Date ) { date = data; }