[dev] Re: [cvs] commit: kronolith/lib/Driver sql.php

Mike Cochrane mike@graftonhall.co.nz
Tue, 1 Oct 2002 02:39:07 +1200


There's a number of bits of code that we just increment mday and send it to this
function... sometimes this can end up with 
year = 2002
month = 9
mday = 31
but there is no 31st in September.. so this code changes it to
year = 2002
month = 10
mday = 1

so the rest of the code works fine.... i only changed in the the sql driver
cause Chuck hadn't noticed a problem with mcal....

- Mike :-)

> ----- Message from davidu@everydns.net ---------
> 
> Mike Cochrane wrote:
> 
> >   Fix nextRecurrence() where the day of the month is greater then the
> > number of days in the month.
> 
> I looked at the code and at the log above and I just don't get what that
> does.
> 
> "where the day of the month is greater then the number of days in the month"
> just doesn't flow into my brain.
> 
> thanks,
> davidu
> 
> ----- End message from davidu@everydns.net -----