Bug in datetime-us sorting
Bug in datetime-us sorting
lastbyte
Posts: 8Questions: 0Answers: 0
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]
[code]
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
...
if(ap == 'pm') hour = parseInt(hour, 10)+12;
...
});
[/code]
This discussion has been closed.