I have 6.x-1.4, Drupal 6.12.

If I go to the GCal Events Module Settings, I don't see a time zone setting.

My google calendar is set to EST, my server is set to UTC. My Drupal Default Time zone is set to -4 (Eastern Daylight Time).

Yet all my events appear 4 hours later. I see the time zone support is conditional on PHP 5.1 or later. My server is running 5.2.5.

Comments

dreamgear’s picture

If I change line 24 of gcal_events.module to

define('USE_TIMEZONES', 1);

Drupal crashes with

Fatal error: Call to undefined function: date_default_timezone_get() in /home/wmos/public_html/v4d/modules/gcal_events/gcal_events.module on line 49

This seems to imply that

1. The version test gets it wrong
and
2. Something else is messed ?

dreamgear’s picture

Priority: Normal » Minor

You can delete this issue. It was a server problem - it had both php 4 and 5 installed and was using the wrong one.

mhm’s picture

Priority: Minor » Major

I'm having a similar issue - but it's definitely not a problem with the version of PHP my server is running.
My times are only off by an hour, but still, that's a problem!

jdwfly’s picture

Status: Active » Closed (duplicate)