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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11784 - Sortable tables don't recognize yyyy-mm-dd date format
Sortable tables don't recognize yyyy-mm-dd date format
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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:

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.