From: Brad Jorsch Date: Sun, 20 May 2012 18:10:09 +0000 (-0400) Subject: (bug 36991) Fix jquery.tablesorter date sorting X-Git-Tag: 1.31.0-rc.0~23162 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=35169448068e979000669b1a22a4e9dda25f943a;p=lhc%2Fweb%2Fwiklou.git (bug 36991) Fix jquery.tablesorter date sorting jquery.tablesorter should extract date sort format from date string instead of global config. Dates like "April 1 2012" and "1 April 2012" now sort correctly regardless of the content language's DefaultDateFormat setting (exposed as wgDefaultDateFormat in mw.config). Previously jquery.tablesorter sorted dates like "1 Apr 2012" (DMY) or "Apr 1 2012" (MDY) incorrectly. It just converted it to "1 4 2012" and "4 1 2012", respectively, and then assumes MDY or DMY order based on the global wiki configuration. This patch fixes that. Change-Id: I8061b1a7892633e34be4d4a0273a4dd5045fd2ee --- diff --git a/RELEASE-NOTES-1.20 b/RELEASE-NOTES-1.20 index 03728e4705..755d703515 100644 --- a/RELEASE-NOTES-1.20 +++ b/RELEASE-NOTES-1.20 @@ -141,6 +141,9 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki. * (bug 35082) mw.util.addPortletLink incorrectly adds link to mutiple