UK Date & Time Sorting (dd-mm-yyyy hh:mm:ss)

UK Date & Time Sorting (dd-mm-yyyy hh:mm:ss)

gbuckingham89gbuckingham89 Posts: 1Questions: 0Answers: 0
edited October 2012 in DataTables 1.9
Hi,

I have a table with a series of dates in it, that aren't being sorted correctly.

They are in the format: dd-mm-yyyy hh:mm:ss.

I can't link to the dev site, but here is an example: http://live.datatables.net/ucisif/2/edit

Any help / advice is appreciated.

Replies

  • allanallan Posts: 63,394Questions: 1Answers: 10,451 Site admin
    You need house a sorting plug-in such as this: http://datatables.net/plug-ins/sorting#date_euro . DataTables only sorts Dates which are automatically detected by Javascript.

    Allan
This discussion has been closed.