[jQuery] Re: Tablesorter dateFormat

2007-12-20 Thread Christian Bach
Hi Jay, There was a small bug in the parser. This works as expected: $.tablesorter.addParser({ // set a unique id id: 'dates', is: function(s) { // return false so this parser is not auto detected return false; }, format:

[jQuery] Re: Tablesorter dateFormat

2007-12-20 Thread Jay Fallon
Thanks Christian!! That worked out great. Thanks again for your time and the plugin, of course. On Dec 20, 3:02 am, Christian Bach [EMAIL PROTECTED] wrote: Hi Jay, There was a small bug in the parser. This works as expected: $.tablesorter.addParser({ // set a unique id

[jQuery] Re: Tablesorter dateFormat

2007-12-19 Thread Christian Bach
Hi Jay, This will solve your problem: // add parser through the tablesorter addParser method $.tablesorter.addParser({ // set a unique id id: 'dates', is: function(s) { // return false so this parser is not auto detected return false; },

[jQuery] Re: Tablesorter dateFormat

2007-12-19 Thread Jay Fallon
Hi Christian, thanks for the follow up, I implemented the script as you described and it's still not sorting correctly: http://jayfallon.net/tablesorter/tablesorter.html On Dec 19, 1:21 pm, Christian Bach [EMAIL PROTECTED] wrote: Hi Jay, This will solve your problem: // add parser through

[jQuery] Re: Tablesorter dateFormat

2007-12-18 Thread Jay Fallon
It's easy to write a parser to convert the months to a sortable value, but the days and years are trickier. the current code is as follows: // add parser through the tablesorter addParser method $.tablesorter.addParser({ // set a unique id