(bug 42097) $.tablesorter fix when wgDefaultDateFormat is unrecognized
authorMatmaRex <matma.rex@gmail.com>
Wed, 14 Nov 2012 20:25:43 +0000 (21:25 +0100)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 14 Nov 2012 20:56:01 +0000 (12:56 -0800)
commita158c6317147cc4a50e4236937faec24ba3c74e3
tree900fc9632cc31dc11675b53bc9ed90ddf7d54a51
parentdbbb17e3c7981174b433743c3276b1d1cc5315b0
(bug 42097) $.tablesorter fix when wgDefaultDateFormat is unrecognized

The 'date' parser assumed all wikis use wgDefaultDateFormat that is
either 'mdy' or 'dmy', but this is not the case; for example
fi.wikipedia uses 'fi normal'. Therefore the correct value was not set,
a string was not changed to an array, and a loop that assumed an array
would be present hanged forever.

Change-Id: Iba17bc6b44d6a2fff491b7462d7a5457f85d19c5
resources/jquery/jquery.tablesorter.js