Bug in datetime-us sorting

Bug in datetime-us sorting

lastbytelastbyte Posts: 8Questions: 0Answers: 0
edited March 2014 in Bug reports
The code is expecting a lowercase 'pm' and causes bad sorting for upper case AM/PM values.

[code]
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
...
if(ap == 'pm') hour = parseInt(hour, 10)+12;
...
});
[/code]
This discussion has been closed.