[kronolith] Kronolith CVS: gregoriantojd not found

Jan Schneider jan@horde.org
Fri, 7 Dec 2001 22:12:18 +0100


Zitat von "Marcus I. Ryan" <marcus@riboflavin.net>:

> I just updated by entire horde setup through CVS.  Now when I look at
> a calendar in kronolith's month view, the first date that is on the
> first day of a week reports
> 
> Fatal error: Call to undefined function: gregoriantojd() in 
> /usr/local/src/horde/kronolith/lib/Kronolith.php on line 193
> 
> and no more dates are displayed.
> 
> After looking around in my "PHP 4 Bible" book and configure --help, I
> figured out what needs to happen is now when one installs PHP they
> need to add --enable-calendar to their configure command-line.  If
> this is to remain a part of the code, it would be a good idea to add
> this to the appropriate install docs.

Hm, we changed the way to calculate the week number because the old way 
didn't work with windows. But we can change the code to not depend on the 
Gregorian functions from the calendar library.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::