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

       Web browser: ---
             Bug #: 35608
           Summary: {{#time | + time interval}} does not give satisfying
                    results at the end of a month
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: ParserFunctions
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


In short: {{#time: j F Y | 31 May 2013 + 1 month}} yields "1 July 2013" (31
days after 1 May 2013). It should give "30 June 2013" (the last day of June
2013). The reason is that, when you just extract the month, you get unwanted
result with the current behaviour. For example, when "now" is 30 March 2012
14:00 CEST:
* {{#time: F Y | now}}, gives "March 2012" (correct)
* {{#time: F Y | now - 1 month}}, gives "March 2012" (incorrect or unwanted)
* {{#time: F Y | now - 2 months}}, gives "January 2012" (correct)

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to