Merge pull request #365 from lelit/master

Fix a typo preventing rendering of null dates
pull/366/head
Allan Jardine 7 years ago committed by GitHub
commit ff051b8bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -125,7 +125,7 @@ $.fn.dataTable.render.intlDateTime = function ( locale, options ) {
if ( typeof data === 'string' ) { if ( typeof data === 'string' ) {
date = Date.parse( data ); date = Date.parse( data );
} }
else if ( d instanceof Date ) { else if ( data instanceof Date ) {
date = data; date = data;
} }

Loading…
Cancel
Save