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

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


> ----- Message from chuck@horde.org ---------
>     Date: Mon, 30 Sep 2002 14:55:18 -0400
>     From: Chuck Hagenbuch <chuck@horde.org>
> Reply-To: Chuck Hagenbuch <chuck@horde.org>
>  Subject: [dev] Re: [cvs] commit: kronolith/lib/Driver sql.php
>       To: dev@lists.horde.org
> 
> Quoting Mike Cochrane <mike@graftonhall.co.nz>:
> 
> >   Log:
> >   Silence warning.
> 
> Hrm. Is there any better way than just silencing it?

Not really... you get the warning if the date is negative or greater than
(2^32)-1, as this also returns -1 in windows.

As we use an end year of 9999 for recuring events this is always going to be
greater than (2^32)-1 so we'll get this error, although in this case the
function still returns -1... actually that may be a bug... will query that one...

- Mike :-)