custom plugin Table sorter date parsing
Hi,
I have got table sorter plugin for jquery.
I have noticed that the date sorting does not sort by the second number if the first is a 0:
04/09/2009
Instead it has to be 4/9/2009 to correctly sort.
I'm really unsure on where to start in creating my own parsing. How do I plop it into my current code??
Any help or directions would be great.
- $('table.policiesView').tablesorter(
{
dateFormat: 'uk',
headers: {
6: {
sorter: false
},
5: {
sorter: false
}
- 4: {
- //Column 4 is a uk format date
- }
}
}
);