Sorting dates like 31/12/2010

Sorting dates like 31/12/2010

psykepsyke Posts: 5Questions: 0Answers: 0
edited March 2010 in General
hello,

I have a table like this:

[code]

Replies

  • ramirezramirez Posts: 2Questions: 0Answers: 0
    try this .. http://datatables.net/plug-ins/sorting
  • psykepsyke Posts: 5Questions: 0Answers: 0
    edited April 2010
    I thought the "dd/mm/yyyy" format was supported natively by the library ? Isn't it?
  • psykepsyke Posts: 5Questions: 0Answers: 0
    up
  • RickFRickF Posts: 9Questions: 0Answers: 0
    Out of the box, DataTables does all date processing using the JS native Date.parse() function, which does not support the "dd/mm/yyyy" format. Fortunately, there is already a plug-in written for that format - follow the link ramirez provided.
  • psykepsyke Posts: 5Questions: 0Answers: 0
    Thank you for your help.
    Using Andy McMaster's "Date (dd/mm/YY)" plugin worked great.
This discussion has been closed.