diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/jquery.tablesorter.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/jquery.tablesorter.js b/media/jquery.tablesorter.js index 9b587312..331b7617 100644 --- a/media/jquery.tablesorter.js +++ b/media/jquery.tablesorter.js @@ -969,7 +969,7 @@ ts.addParser({
id: "shortDate",
is: function (s) {
- return /\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s);
+ return /^\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}$/.test(s);
}, format: function (s, table) {
var c = table.config;
s = s.replace(/\-/g, "/");
@@ -1028,4 +1028,4 @@ }
}
});
-})(jQuery);
\ No newline at end of file +})(jQuery);
|