Date/time sorting not working for 2020 dates.
Date/time sorting not working for 2020 dates.
Date/time sorting is messed up for 2020 dates. It was working fine until 2019. I have ordering set to true and here is the example:
var resultsTable = $('#resultsTable').DataTable({
"searching" : true,
"ordering": true,
"columns" : [
{"data" : "createdDate", "className" : "tdDataC"}
]
});
It is displayed in the right order when I turn off ordering. Anyone experienced this yet?
This question has an accepted answers - jump to answer
Answers
See if this blog about [sorting dates](https://datatables.net/blog/2014-12-180 helps. If not then we will need to see the problem. Please post a link to your page or a test case replicating the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Thanks Kevin! The solution in the link worked.