[dev] [cvs] commit: framework/Date/Date Recurrence.php

Jan Schneider jan at horde.org
Sun Oct 19 12:34:03 UTC 2008


Zitat von Michael Rubinsky <mike at theupstairsroom.com>:

> mrubinsk    2008-10-18 16:40:49 EDT
>
>   Modified files:
>     Date/Date            Recurrence.php
>   Log:
>   Check that the ISO-8601 week number is NOT the first week of the year while
>   we are in month 12. If it IS, then we need to bump the year up one before
>   calculating the after_week value.
>
>   This fixes an infinite loop with certain recurring events.
>
>   Revision  Changes    Path
>   1.24      +11 -3     framework/Date/Date/Recurrence.php
>
>   Chora Links:
>    
> http://cvs.horde.org/diff.php/framework/Date/Date/Recurrence.php?r1=1.23&r2=1.24&ty=u
>
> --
> To unsubscribe, mail: cvs-unsubscribe at lists.horde.org
>

Shouldn't we increment $after->year directly instead?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list