Last modified: 2011-04-14 15:14:05 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 14449 - Timestamp parameters and fields do not support ISO 8601 fully
Timestamp parameters and fields do not support ISO 8601 fully
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-06-06 19:40 UTC by Chris Howie
Modified: 2011-04-14 15:14 UTC (History)
2 users (show)

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


Description Chris Howie 2008-06-06 19:40:27 UTC
The timestamp parameters in the API (the one I tested with was wlbegin in the watchlist querying module) do not accept all ISO 8601 dates, only a subset.  For example, "2008-06-06T19:00:00Z" is accepted while "2008-06-06T14:00:00-04:00" is not.
Comment 1 Chris Howie 2008-06-06 19:41:12 UTC
The second date should have been "2008-06-06T15:00:00-04:00" in order to be equivalent to the first date.
Comment 2 Roan Kattouw 2008-07-07 12:39:25 UTC
Technically, this is not a bug in the API, but in the MediaWiki core. The problem is in wfTimestamp() in GlobalFunctions.php , which is used by e.g. Special:BlockIP too.

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