Custom Date Format Sort

Custom Date Format Sort

PatSPatS Posts: 2Questions: 0Answers: 0
edited December 2010 in General
I am using the date format dd-M-yy (10-Dec-10) in a column and want to be able to create a plugin to sort for this. I am not quite sure as to how to pull this off since I just started using DataTables.net...btw...this rocks.

Any help would be appreciated.
Pat

Replies

  • pouetpouet Posts: 2Questions: 0Answers: 0
    hi everyone, i got the same problem, i'm trying to sort my array using the date format dd-M-yyyy (10-Dec-2010).

    I tried following this example http://datatables.net/examples/plug-ins/sorting_sType.html but it doesn't seem to work...
    Is it the good example to follow or should I read another one ?

    Kind regards,
    Pouet
  • pouetpouet Posts: 2Questions: 0Answers: 0
    Alright, so I posted too quicly, my apologies:

    This solution works like a charm
    http://datatables.net/forums/comments.php?DiscussionID=1933&page=1#Item_0
  • adromiladromil Posts: 53Questions: 4Answers: 0
    how about for the date format YYYY-mmm-dd?
This discussion has been closed.