Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
dreamgear CreditAttribution: dreamgear commentedIf 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 ?
Comment #2
dreamgear CreditAttribution: dreamgear commentedYou can delete this issue. It was a server problem - it had both php 4 and 5 installed and was using the wrong one.
Comment #3
mhm CreditAttribution: mhm commentedI'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!
Comment #4
jdwfly CreditAttribution: jdwfly commenteddup of #421684: Timezone issues based on currently logged in google account.