• As I have been testing changing the GMT location in my Google Calendar, I have noticed that the time changes to something incorrect for single events only.

    All day events are not effected as well as repeated events. Is this what others are experiencing. I have tried to use the GMT from WordPress, but for some reason, the single events’ time does not change.

    I just cannot seem to get this to work. If anyone has any suggestions, I am willing. I think it has to do with the timezone settings in Google. If you change the settings, then update your ICS by clicking “Save Changes” in the ICS Import settings.

    Let me know if this solves your problems or what? I think if I change the time formatting, too many things will go wrong.

    Daniel

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hadn’t really thought about this before.

    Just went into my settings and saw that ICS Calender was showing my time as 10.24pm (server time is -8 GMT) although my real time is 06.24am GMT (in the UK).

    I changed my google calender to -8 GMT to see if I could trick the system into gaining the 8 hours but it did not work.

    In WordPress my time shows as UTC is 2008-04-19 6:24:46 in the settings/general tab.

    Hope this is of help to you.

    ents

    (@ents)

    How to fix this:
    Site admin>plugins>plugin editor>ics calendar> ics-importer.php

    add “putenv(“TZ=America/New_York”);” right after the FIRST */

    for example mine is

    <?php
    /*
    Plugin Name: ICS Calendar
    Version: v1.1.8
    Author: Daniel Olfelt
    Description: A plugin for importing ICS files from Google or iCal into a blog page as an event list or calendar.
    */

    putenv(“TZ=America/New_York”);

    ini_set(‘display_errors’, 1); // FOR DEBUGING ONLY

    require_once(‘import_ical.php’);
    //require_once(‘ical_parse.php’);
    require_once(‘ics-functions.php’);
    require_once(‘cal-functions.php’);

    find your time zone here

    https://www.theprojects.org/dev/zone.txt

    yup that’s it and is super stupid that time zone is not a built in option. bye.

    Thread Starter dolfelt

    (@dolfelt)

    This has been fixed in the newest version and you should no longer have to use putenv.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: ICS Calendar] Events do not show proper GMT dates’ is closed to new replies.