[Mediawiki-l] DateTime calculation?

Emanuele D'Arrigo manu3d at gmail.com
Fri Aug 17 14:14:53 UTC 2007


On 8/17/07, Rob Church <robchur at gmail.com> wrote:
> On 17/08/07, Thomas Dalton <thomas.dalton at gmail.com> wrote:
> > Lots of {{#if}} statements? There may be a better way... A
> > {{UNIXTIME}} variable giving seconds since the epoch would be very
> > useful... I'm surprised there isn't one already, but it shouldn't be
> > difficult to add.
>
> {{#time}} ?

A-ha! I didn't see the "U" formatting string in the {{#time}} function!
Uhm! That might make my brand-new-shiny-super-duper-megalo-amazing
extension completely redundant. =)

I'll have to investigate.

Thank you!

Manu



More information about the MediaWiki-l mailing list