https://bugzilla.wikimedia.org/show_bug.cgi?id=35713

       Web browser: ---
             Bug #: 35713
           Summary: ParserFunction #time: wrong day when combining next
                    with a relative time
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Parser
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: shadowtwea...@web.de
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10380
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10380
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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to