Fix a typo preventing rendering of null dates

pull/365/head
Lele Gaifax 7 years ago
parent bf77a15079
commit 0bb0384662

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

Loading…
Cancel
Save