Last modified: 2012-04-05 17:41:01 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 T37713, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35713 - ParserFunction #time: wrong day when combining next with a relative time
ParserFunction #time: wrong day when combining next with a relative time
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/wiki/User:Ma...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-05 09:43 UTC by shadowtweaker
Modified: 2012-04-05 17:41 UTC (History)
1 user (show)

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


Attachments
screenshot of the bug, made in ExpandTemplates at english wikipedia (67.11 KB, image/png)
2012-04-05 09:43 UTC, shadowtweaker
Details

Description shadowtweaker 2012-04-05 09:43:36 UTC
Created attachment 10380 [details]
screenshot of the bug, made in ExpandTemplates at english wikipedia

{{#time:d.m.Y|05.04.2012 next thursday}} gives 12.04.2012, but {{#time:d.m.Y|05.04.2012 next thursday -1 day}} gives 04.04.2012 instead of 11.04.2012. Strangely this bug happens not if "year" or "month" is entered instead of "day", if the integer is positive, if "previous" is used instead of "next" or if an other week of the day is entered (as 05.04.2012 is a thursday too, only "next thursday" gives the bug, but for example "next friday" and "next wednesday" give correct results).

Bug was tested in Special:ExpandTemplates at the english wikipedia and at mediawiki.org.
Comment 1 Mark A. Hershberger 2012-04-05 17:40:44 UTC
https://en.wikipedia.org/wiki/User:MarkAHershberger/Bug35713

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


Navigation
Links