[Mediawiki-l] {{CURRENTMONTHNAME}} minus one

Christof Damian christof at damian.net
Thu Mar 16 11:07:59 UTC 2006


On Thu, 16 Mar 2006, Hans Voss wrote:
> You mean this is 'build in' into the calendar template?  And here I
> was, hacking up your code to generate something similar (display
> "next week").  Darn.

Well, I am just using the strtotime function for the calendar
extension. So you can just use:

<calendar>
view=week
date="next week"
format="Sandbox/%j.%n.%Y"
</calendar>

or similar. Thats in the code since the 15.9.2005 version :-)

christof
-- 
Christof Damian         
christof at damian.net



More information about the MediaWiki-l mailing list