[kronolith] windows mktime warning

Chuck Hagenbuch chuck at horde.org
Fri Mar 7 16:51:14 PST 2003


Quoting Thomas Spellman <thomas at thosmos.com>:

> I only got this error when I had all output buffering turned off, and I
> set an event with no end date (rather than one that only lasts until
> 2005.)  Apparently, if you don't set an end-date, "$recur_enddate_year =
> 9999" (line 746) in Kronolith_Event::readForm() puts 9999 in the year
> slot of mktime() at "$this->setRecurEndTimestamp(mktime(1, 1, 1,
> $recur_enddate_month, $recur_enddate_day, $recur_enddate_year));" (line
> 755-758) This is where the error happens.
> 
> Warning: mktime() [function.mktime]: Windows does not support negative
> values for this function in
> C:\Inetpub\wwwroot\horde\kronolith\lib\Event.php on line 758

This is now fixed in CVS, thanks.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
I know there's fish out there, but where g-d only knows.


More information about the kronolith mailing list