dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TableSorter: Sort unrecognized dates as -Infinity
[lhc/web/wiklou.git]
/
resources
/
src
/
jquery
/
jquery.tablesorter.js
diff --git
a/resources/src/jquery/jquery.tablesorter.js
b/resources/src/jquery/jquery.tablesorter.js
index
922da31
..
ecd376a
100644
(file)
--- a/
resources/src/jquery/jquery.tablesorter.js
+++ b/
resources/src/jquery/jquery.tablesorter.js
@@
-1163,7
+1163,7
@@
match = s.match( ts.rgx.isoDate[ 1 ] );
}
if ( !match ) {
- return
0
;
+ return
-Infinity
;
}
// Month and day
for ( i = 2; i <= 4; i += 2 ) {