Last modified: 2011-04-14 15:14:05 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 T16449, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links