Last modified: 2006-08-24 14:04:30 UTC
Currently the magic words CURRENTDAY ... CURRENTYEAR allow only
a fixed time. For various pages such as daily boilterplate for
Categories for Discussion and Templates for Deletion, we need
to calculate the previous and next days, and days up to 2 weeks
in the past, for linking to the correct daily pages.
There are also an awful lot of time math templates doing things
the hard way, and not very well (not subst'able).
These functions accept one parameter after the colon, and that
should be a positive or negative number of seconds. These are
just a guess as to how they should be written and where they s
hould be placed. And I have no clue on how linking the new
CoreParserFunction system works.
Created attachment 2089 [details]
patch to CoreParserFunctions
Created attachment 2116 [details]
same with input range limited to abs(5 years)
somewhat less naive implementation with an input range limit of plus or minus 5
years, as that should be well within the actual needs of the community
*** This bug has been marked as a duplicate of 7116 ***