jquery.tablesorter: Match clobbered iso dates and fix edgecases
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Tue, 6 Oct 2015 19:21:28 +0000 (21:21 +0200)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Tue, 6 Oct 2015 19:50:59 +0000 (21:50 +0200)
commita46ad5be83073a1c68e5f0c6bec562f6fcc09efc
treebebe862736a89d079f51031c1ade29ec75a367ab
parentc3698b050ef5908666febe98f34aca75d2df3d93
jquery.tablesorter: Match clobbered iso dates and fix edgecases

* Support dates that have references or other 'postfixes' (T114479)
* Match leapseconds, but not invalid seconds. Invalid seconds (61 or
higher) will be dropped alltogether. These still are recognized as
proper dates, :61 will be treated as a 'postfix'.
* We cannot match just YYYY or YYYY-MM, because then many plain
  numbers would be recognized as dates.

Bug: T114479
Change-Id: I65a2f125e6c6480b35c9efd38e1e8b1f898a74b7
resources/src/jquery/jquery.tablesorter.js
tests/qunit/suites/resources/jquery/jquery.tablesorter.parsers.test.js