Last modified: 2009-02-03 09:49:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13784, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11784 - Sortable tables don't recognize yyyy-mm-dd date format
Sortable tables don't recognize yyyy-mm-dd date format
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-27 20:12 UTC by Jesse (Pathoschild)
Modified: 2009-02-03 09:49 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jesse (Pathoschild) 2007-10-27 20:12:24 UTC
The sortable tables script in wikibits.js ([[m:Help:Sorting]]) does not recognize the standard yyyy-mm-dd format, nor does it resort to numerical sorting (it does nothing at all when the user tries to sort by that column).

The following date formats are supported:
* dd-mm-yyyy (27-10-2007)
* dd-mm-yy (27-10-07)
* dd-mmm-yyyy (27-Oct-2007)
Comment 1 Brion Vibber 2007-12-04 21:59:08 UTC
Special handling shouldn't be required, as a standard text sort should return correct results for this date format.

That it does *nothing*, though, is a bit odd!
Comment 2 Jesse (Pathoschild) 2007-12-04 22:53:20 UTC
Meta overrides the script with an improved version, and this date format works correctly on other projects: 
http://incubator.wikimedia.org/w/index.php?title=User:Pathoschild/Sandbox&oldid=143874

The problem should be in [[m:MediaWiki:Common.js]], then. I suppose this bug should be closed, since it's not an issue with the MediaWiki code?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links