http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90618

Revision: 90618
Author:   diebuche
Date:     2011-06-22 22:21:57 +0000 (Wed, 22 Jun 2011)
Log Message:
-----------
Hopefully fix IE6 regex tablesorter issue

Modified Paths:
--------------
    trunk/phase3/resources/jquery/jquery.tablesorter.js

Modified: trunk/phase3/resources/jquery/jquery.tablesorter.js
===================================================================
--- trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-22 22:13:53 UTC 
(rev 90617)
+++ trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-22 22:21:57 UTC 
(rev 90618)
@@ -488,7 +488,7 @@
                                        IPAddress: [new 
RegExp(/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/)],
                                        currency: [new RegExp(/^[£$€?.]/), new 
RegExp(/[£$€]/g)],
                                        url: [new 
RegExp(/^(https?|ftp|file):\/\/$/), new RegExp(/(https?|ftp|file):\/\//)],
-                                       isoDate: [new 
RegExp(/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/)],
+                                       isoDate: [new 
RegExp(/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/)],
                                        usLongDate: [new 
RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) 
(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/)],
                                        time: [new 
RegExp(/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/)]
                                };


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to