Running PublicBookings and Bookings_API 6.x-1.x-dev.
Entered a repeating daily booking (set from 1400 to 1500 hours) which crossed over the November 1, 2009 date for daylight savings time. Tested on two systems:
System 1: WAMP (localhost) server, Apache 2.0.58, MySQL 5.0.22, PHP 5.1.4, PHP4 module enabled. All bookings up to and including October 31 were correct. All bookings on or after November 1 were set to 1500 to 1600 hours. Setting PHP4 module TRUE or FALSE had no effect.
System 2: Production server: PHP 5.2.5, MySQL 5.0.67.d7. All bookings were correct.

Conclusion: PublicBookings REQUIRES PHP 5.2+

Comments

Anonymous’s picture

It might actually not be the Bookings API, but the DATE API. But I'll look into this. Thanks :)

Anonymous’s picture

Status: Active » Closed (won't fix)

Please see the comment on the Date-Page about this:

Note: The Date API is designed to use the new PHP date and timezone functions that are available in PHP 5.2 and above. If you're using an earlier version of PHP, you'll need to enable the Date PHP4 module which provides some wrapper code to emulate those functions. The wrapper code is slower and less efficient than the native date functions, and has bugs that may never get totally fixed, so it is far better to use a server that has PHP 5.2 or higher enabled. Some distros, like Red Hat, use PHP 5.1 instead. See Installing PHP 5.2 on RedHat for ideas on how to update that.

BleuBiRTH’s picture

Strange, i have the same problem, and i use PHP 5.2.4, looking for sollution...