|
s = s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/, "$1/$2/$3"); |
There is a bug in that line, when dateFormat is or the form "dd/mm/yy".
The replacement string should be $3/$2/$1, to meet the requirement of the JavaScript Date constructor.
The current replacement string is not a valid date input string for the constructor.
tablesorter/jquery.tablesorter.js
Line 998 in 07e0918
There is a bug in that line, when dateFormat is or the form "dd/mm/yy".
The replacement string should be $3/$2/$1, to meet the requirement of the JavaScript Date constructor.
The current replacement string is not a valid date input string for the constructor.