I am using the jquery tablesorter plugin to sort a table. On of my the columns in my table shows the date in mm/yy format.
-
I think you will find that your problem is the Date constructor and the 2-digit year string you are passing without disambiguation: new Date(dateSplit[1], dateSplit[0], 1);
I don't think you can (easily) get access to rel based on s in the parser. Does s contain the entire contents of the cell? Can you do something in the data in the cell like: CCMM/YY, strip out the tags and then combine CC with YY in your parse?
- 热议问题