[Ml-yokadi] Quaterly recurrence patch

Sébastien Renard Sebastien.Renard at digitalfox.org
Tue Jul 21 21:34:35 CEST 2009


Le mardi 21 juillet 2009 11:24:47, Jonas Christian Drewsen a écrit :
>     I think quaterly is a pretty common term for "every three months".
>    
> E.g. Dictionary.com : "a periodical issued every three months.".
>
> I myself need it for "quaterly report" tasks :)

Sure, but that's not what your patch seems to do. It shedule a task for 
Janury, April, July and October whatever the current month is. So, as we are 
in July everything is fine but if you define a quarterly task in august, the 
next occurrence will be in october, not november as it could be expected.

Both two behaviour are correct, but I would like to be sure that you did it 
intentionnaly.

>Regarding grouping the quaterly code with the yearly: I did this because
>all code except for a few lines can be shared. I believe that reducing
>the amount of code duplication can help reduce the number of bugs in a
>simple case that like this.

Ok I see. That's not a problem.

a+
-- 
Sébastien



More information about the Ml-yokadi mailing list