iCal Export – wrong timezone

Home Forums Calendar Products Events Calendar PRO iCal Export – wrong timezone

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1037027
    Tommy
    Participant

    When I export an event from the calendar on my website using the “Export to iCal” button, the event imports into my calendar 8 hours behind of the actual time.

    Same as this

    iCal Export – wrong timezone

    #1037726
    Cliff
    Member

    Hi Tommy. Thanks for opening a new thread, including a link to that other thread, and including your system information.

    From your sysinfo report, I see your WordPress timezone is set to “australia/melbourne”

    I clicked the “Export Listed Events” button at https://singlesevents.melbourne/events/ and looked at the .ics file in my text editor. Th .ics file includes this text:

    DTSTART;TZID="Australia/Melbourne":20160115T081500
    DTEND;TZID="Australia/Melbourne":20160115T110000

    On your site, it displays the event from 7:15-10 PM, and the iCal export file’s DTSTART and DTEND get interpreted as:

    Start 2016-01-15 08:15:00+11:00
    End 2016-01-15 11:00:00+11:00

    Since Australia/Melbourne’s current time zone offset is UTC+11, I believe this is correct.

    Could you please provide a screenshot or something else to show where/how the iCal export is being interpreted incorrectly (off by -8 hours)?

    Thank you.

    #1037812
    Tommy
    Participant

    This reply is private.

    #1037814
    Tommy
    Participant

    iCal should import it into my iCal at the time the event is actually on which is 7:15pm but it imports it to 8:15am so thats 11 hours wrong (not 8 hours, my mistake)

    #1037874
    Cliff
    Member

    Thanks for the video showing the Mac Calendar app adding it to your calendar at 8:15 am on the 15th (assuming your computer calendar is also set to Melbourne time zone).

    We’ve seen a similar issue for several other scenarios so I have added this forum thread to our internal bug tracking. I’d hope a fix is out within 2 weeks but cannot guarantee it (we generally do not provide ETAs, I’m just saying it’s not something that will take forever to fix).

    Sorry again that you’re experiencing this issue. Thanks for your understanding and patience.

    #1037919
    Tommy
    Participant

    Yep I checked Mac settings, iCal settings, WordPress settings, Everything is set to Melbourne time zone. Cheers Cliff

    #1037945
    Brian
    Member

    Hi,

    I am going to jump in here as this might help.

    I found the issue and a temporary work around for now.

    If you replace the content of this file:

    plugins/the-events-calendar/src/Tribe/iCal.php

    With this:

    https://gist.github.com/jesseeproductions/d3b3b650ef36c9998635

    That fixed the issue for me.

    Does that work for you?

    #1037957
    Tommy
    Participant

    Yes that fixed the issue! So are we still waiting on a permanent fix for this?

    Because as soon as there is an update, that file will be replaced right?

    #1038587
    Cliff
    Member

    Thanks, Brian. And thanks Tommy for letting us know that worked for you.

    It’ll definitely be updated soon (I’m hoping within a week or two at the latest but cannot provide an official ETA.)

    Thanks!

    #1039213
    Geoff
    Member

    Hey Tommy,

    Just jumping in to let you now that the patch for this issue is included in 4.0.1 and it just released today. Keep your eyes open for the update and please do let us know if any other issues pop up and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘iCal Export – wrong timezone’ is closed to new replies.