Support » Plugins and Hacks » My Calendar » [Plugin: My Calendar] iCal .ics not picking up date

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Joe Dolson

    (@joedolson)


    The URL is right; but I may have missed something in the iCal generation. The URL format was changed in version 2.0. Thanks for noting this!

    Plugin Author Joe Dolson

    (@joedolson)


    Bug identified and fixed; I’ll get this out soon.

    I installed v2.02 but it seems there’s still a bug re the .ics file. For example, I have an event with a begin time of 6:30 p.m. and end 7:30 p.m. but the iCal export ics file shows 2 hours earlier, i.e. 4:30 begin and 5:30 end.

    Plugin Author Joe Dolson

    (@joedolson)


    iCal shows times at UTC, not in your timezone; are you in UTC +2?

    WP Settings/General is set at UTC-4 and My Calendar Edit Event is set at GMT-4 (Universal Coordinated Time is the same Greenwich Mean Time but WP uses UTC and My Calendar uses GMT). Regardless, the fact is that with v1.11.3 the iCal export was correct whereas v2.x iCal export .ics file is off by 2 hrs.

    The issue of 2hr time error remains in v2.0.3. For example, an .ics file from an event with start time of 6:30pm and end time of 7:30pm when viewed in the Finder Preview (i.e. not after imported into iCal) shows start time of 4:30pm and end time of 5:30pm. Surely the ics file should match the event.

    Plugin Author Joe Dolson

    (@joedolson)


    So, I just did some testing, and I’m really not sure what’s going on for you. What the iCal output time should show (and does in my own test installations), is the UTC time of the event with a UTC marker (Z), indicating that the time is being expressed at UTC.

    In my installation, the time is expressed with the correct offset from my current time (5 hours), and then is imported successfully into Google Calendar at my local time.

    What is very strange to me is the fact that your WP settings are at UTC-4 but your ics is coming up off by 2 hours. Maybe it’s an iCal thing; I’ll have to explore that.

    Here’s the dump from ics:

    DTSTAMP:20121107T223000Z
    ORGANIZER;CN=MAILTO:example.com
    DTSTART:20121107T223000Z
    DTEND:20121107T233000Z

    So, yes, it’s showing Z and the ics file as seen in OSX 1.8 is the typical iCal icon with the date and time but the time if -2hrs from the time as set in Event. When imported it also is off by 2hrs. As I said earlier, the exported ics should be identical to the Event time regardless of zone setting.

    I don’t know if this helps narrow down the possible bug but it’s Interesting to note the ics icon generated by 1.11.3 reflects the fact that I’m using BusyCal whereas that generated by 2.0.3 has the typical iCal icon. Here’s an extract from the ics from v1.11.3:

    [time] => 6:30 pm
    [endtime] => 7:30 pm
    [usertime] => 6:30 pm
    [endusertime] => 7:30 pm
    [ical_start] => 20121107T223000
    [ical_end] => 20121107T233000

    Plugin Author Joe Dolson

    (@joedolson)


    Just released 2.0.4, added an option to set your iCal options to entered time. This should work fine as long as your users are actually in your time zone. You’ll need to change the default setting on your settings page.

    Yes, unchecking UTC fixed the problem. Great response. Many thanks.

    BTW, I didn’t mention previously that I have set iCal timezone to “floating” because I found it less confusing as I travelled, otherwise appointments were changing (as designed) but this caused problems.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: My Calendar] iCal .ics not picking up date’ is closed to new replies.