Events Made Easy Forums Bug fixed or feature request implemented ICAL export wrong timezone / Daylight savings for Outlook

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #55460
    Anonymous
    Inactive

    Noticing an issue with the ICAL export where the timezone is not being read correctly by outlook. I seem to have fixed this issue by adding single quotes around the timezone ‘America/Chicago’ in the ical php file. Has anyone else experienced this issue? Can a fix be implemented?

    From what I can tell, just adding the single quotes to the following section, fixed the issue for me:

    Changed the following lines in the file events-made-easy/eme_ical.php:

    Changed FROM:

    } else {

    $res .= “DTSTART;TZID=$tzstring:$dtstart\r\n”;

    $res .= “DTEND;TZID=$tzstring:$dtend\r\n”;

    }

    Changed TO:

    } else {

    $res .= “DTSTART;TZID=’$tzstring’:$dtstart\r\n”;

    $res .= “DTEND;TZID=’$tzstring’:$dtend\r\n”;

    }

    #55461
    Franky
    Keymaster

    Hi, the rfc doesn’t specify quotes for the timezone:
    https://tools.ietf.org/html/rfc5545
    But I do find some other hints on the internet that outlook has issues if these are not quoted.
    I could add an option to quote this for say outlook compatibility, but of course then other clients might not like it …

    #55462
    Anonymous
    Inactive

    I tested gmail and iphone calendar and they were both ok with the quotes.

    I would definitely appreciate the option!

    #55463
    Franky
    Keymaster
    #55465
    Anonymous
    Inactive

    Thanks Franky!

    I tested this code out and it worked great.

    What version will this be implemented automatically into the plugin updates?

    I’m showing we are on Version 1.6.13.

    #55468
    Franky
    Keymaster

    It will be in the next version 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top