Last modified: 2014-03-09 23:39:18 UTC
As you can check in the URL above, the current version[1] of the table sorter parser for "isoDate" doesn't work if the date has the format YYYY-MM-DDTHH:MM:SSZ. In the broken example above, clicking in the "Date" header doesn't change the order of the rows, while in the working example it does. The code is using the regex /^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/ to detect these dates (see #L620), and this doesn't take the time into account. Moreover, in the parser (#L1011), there is a replacement of the form "2000-01-01T00:00:00Z" --> "2000/01/01T00:00:00Z" which will result in an invalid date when this value is passed to "new Date()" [1] https://github.com/wikimedia/mediawiki-core/blob/5b17571e6917fb819d8d8a191df90dd88d468e09/resources/jquery/jquery.tablesorter.js
Change 117808 had a related patch set uploaded by TheDJ: TableSorter: Improve detection and handling of isoDate https://gerrit.wikimedia.org/r/117808