[Tickets #6080] Re: leap year

bugs at horde.org bugs at horde.org
Sun Jan 6 20:31:54 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://dev.horde.org/horde/whups/ticket/?id=6080
-----------------------------------------------------------------------
 Ticket             | 6080
 Updated By         | Michael Rubinsky <mrubinsk at horde.org>
 Summary            | leap year
 Queue              | Kronolith
 Version            | HEAD
 Type               | Bug
 State              | Accepted
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2008-01-06 15:31) wrote:

To recap discussions on IRC, this issue seems to exist only in certain
cases for me.

Horde_Date_Recurrance:nextRecurrence() seems to return the proper date
(2/29/xx) but the date gets displayed on 3/1 in certain cases. It seems to
have to do with the day of week that 3/1 falls on in non-leap years.

Some test cases that work for me:

create an event on 2/29/08 set to recur yearly on the same date.
with 'Monday' selected as the first day of week in prefs, this event will
appear on 3/1/2009...if 'Sunday' is selected as the first day of week, it
does not appear.

create an event on 2/29/04, yearly on same date also.
This event will appear on 3/1/05 regardless of the setting of first day of
week.







More information about the bugs mailing list