diff --git a/sorting/datetime-moment.js b/sorting/datetime-moment.js index 1f12b13b..f937531b 100644 --- a/sorting/datetime-moment.js +++ b/sorting/datetime-moment.js @@ -28,7 +28,7 @@ } }(function ($, moment) { -$.fn.dataTable.moment = function ( format, reverseEmpties, locale ) { +$.fn.dataTable.moment = function ( format, locale, reverseEmpties ) { var types = $.fn.dataTable.ext.type; // Add type detection