Open markhobson opened 4 years ago
I would think the responsibility of the data to be appropriately formatted is outside of the scope of the sorting library. Should the library really sanitize all of the inputs?
Should the library really sanitize all of the inputs
Agree. Pull request happily accepted.
Whitespace around dates breaks sorting in Firefox, but is fine under Chrome:
https://jsfiddle.net/markhobson/4qmhgzwe/6/
A cursory glance indicates that
new Date(date)
in tablesort.date.js is not cross-browser compatible:Firefox:
Chrome: