Thanks for this script
Whether but it is planned to make sorting by date format "%d/%m/%Y %H:%i:%s" (example 26/12/2009 13:56:01) ?
Such decision I saw in a script http://tablesorter.com/docs/
The only date sorting that DataTables includes internally is that supported by Javascript's Date.parse() method. There are currently no plans to extend this to other formats in the core distribution, but it is trivial to use a plug-in sorting function to sort any data in any format you want:
Development info: http://datatables.net/development/sorting
Plug-in sorting functions already available: http://datatables.net/plug-ins/sorting (including several date sorting plug-ins)
Example using a sorting plug-in: http://datatables.net/examples/api/sorting_plugin.html
Replies
The only date sorting that DataTables includes internally is that supported by Javascript's Date.parse() method. There are currently no plans to extend this to other formats in the core distribution, but it is trivial to use a plug-in sorting function to sort any data in any format you want:
Development info: http://datatables.net/development/sorting
Plug-in sorting functions already available: http://datatables.net/plug-ins/sorting (including several date sorting plug-ins)
Example using a sorting plug-in: http://datatables.net/examples/api/sorting_plugin.html
Regards,
Allan