On 4/9/06, Shinjiman <shinjiman(a)gmail.com> wrote:
is that have any suitable method to produce the
current month (in
number) without the leading zero? I've been found out in the MediaWiki
software currently only have the magic word CURRENTMONTH which would
generate the current month with leading zero. Is that have any other
ways to generate the current month without the leading zero? or maybe
I would like to submit a patch to BugZilla to resolve this issue?
There's CURRENTDAY (which does the day without a leading zero) and
CURRENTDAY2 (which does the day *with* a leading zero). I suppose they
could always add CURRENTMONTH2 (which would do the month without the
leading zero). It would be backwards from the CURRENTDAY magic words,
but at least you'd be able to get the month without the leading zero.
=)
-L