Last modified: 2012-04-05 17:41:01 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.
https://en.wikipedia.org/wiki/User:MarkAHershberger/Bug35713