Template:LastMonth: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PrimeHunter
replace {{{1|{{CURRENTDAY}}}}} by 1 to ensure that -1 month gives a valid day in the previous month; fixes bug where for example {{LastMonth|March|31|2012}} produced March 2012 instead of February 2012
meta>Michael Bednarek
Line 1: Line 1:
{{{{{|safesubst:}}}#time:F Y|{{{2|{{CURRENTMONTHNAME}}}}} 1 {{{3|{{CURRENTYEAR}}}}}-1 month}}<noinclude>{{Reference desk navigation/Note}}</noinclude>
{{{{{|safesubst:}}}#time:F Y|{{{2|{{CURRENTMONTHNAME}}}}} 1 {{{3|{{CURRENTYEAR}}}}}-1 month}}<noinclude>{{Reference desk navigation/Note}}
==See also==
*{{Tl|LASTMONTH}}
*{{Tl|Lmonth}}
[[Category:Date-computing templates]]</noinclude>

Revision as of 01:51, 25 March 2014