diff --git a/dataRender/datetime.js b/dataRender/datetime.js index c866f97c..0d97d8c2 100644 --- a/dataRender/datetime.js +++ b/dataRender/datetime.js @@ -97,13 +97,9 @@ $.fn.dataTable.render.moment = function ( from, to, locale ) { // Argument shifting if ( arguments.length === 1 ) { - locale = 'en'; to = from; from = 'YYYY-MM-DD'; } - else if ( arguments.length === 2 ) { - locale = 'en'; - } return function ( d, type, row ) { if (! d) {