Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35379

Hours:minutes Ago sort

$
0
0

Hi Guys.

I have a table with time into Hours:minutes ago, it can be, ex: 5:12, 15:45, 25:50, 60:23, 150:34, 264:10, 500:15, 3500:16...

Is not numeric or date format, dataTables try to order as String.

I searched many formating types into http://datatables.net/plug-ins/sorting/ but nothing solve my problem.

Also I tryed use something like http://datatables.net/forums/discussion/2467/need-help-for-sorting-date-with-dd-mm-yyyy-format, using date, but normaly date is not my format.

It is possible sort my time format?

Thanks a lot.


Viewing all articles
Browse latest Browse all 35379