Hello, I prefer: __timeAdd(format, number*, m|h|d|w|M|y**, variable) * can be negative ** applied to number, ie +/- 1 minute, hour, day, week, month or year. Only one option is possible.
Regards Philippe M. On Wed, Jun 13, 2012 at 2:11 PM, D G <[email protected]> wrote: > For full context see here: > https://issues.apache.org/bugzilla/show_bug.cgi?id=53362 > > Needed a __time function with the ability to add n days before > returning a date string so I created one. > > I'd happily create a new function or append the current one. Would > users prefer a > > __time(format, variable, +/-Days) (reordered for compatebility) > > where Days is the amount of days to add or subtract before returning a > formatted string. > > or a new function? > > proposal: > > __timeMath(format, number, m|h|d|w|M|y**, variable) > > ** applied to number, ie +/- 1 minute, hour, day, week, month or year. > Only one option is possible. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cordialement. Philippe Mouawad.
