Update datetime-us.js

Datetime regex matches with PM/Pm/pm, but only takes it into account in calculation if "pm" is provides, causing sorting bugs in certain cases.
pull/48/head
greggg230 11 years ago
parent 5f255273de
commit 6ca8c837a7

@ -27,7 +27,7 @@ jQuery.extend(jQuery.fn.dataTableExt.oSort, {
year = b[3],
hour = b[4],
min = b[5],
ap = b[6];
ap = b[6].toLowerCase();
if (hour == '12') {
hour = '0';

Loading…
Cancel
Save