ICS Calendar
Time Zones/Daylight Savings Time (3 posts)

  1. tbhceo
    Posted 4 years ago #

    I've searched the forums to find a solution to this problem, but none have helped.

    I've added the "putenv" code in the ics-importer.php, I've made sure my WordPress installation is in the right timezone (New York City), I've made sure the Google Calendar feed has the right time zones listed.

    Still, the event times are displaying with an hour later than scheduled. (For example: see see here. The Nov. 9th event actually starts at 7:30pm and the Nov. 12th event starts at 5:30pm.)

    Any ideas would be GREATLY appreciated. Thanks.


  2. pander
    Posted 4 years ago #

    I have the same problem. ICS Calendar shoud respect time zones which are in the .ics file.

  3. pander
    Posted 4 years ago #

    Temporary and very very bad workaround that doesn't take daylight savings into account. Add these lines after line 218 in ics-functions.php (foreach ($events as $event) {) to deduct one hour:

    $event['StartTime'] -= mktime(1, 0, 0) - mktime(0, 0, 0);
    $event['EndTime'] -= mktime(1, 0, 0) - mktime(0, 0, 0);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ICS Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic