Home › Forums › Calendar Products › Events Calendar PRO › iCal Export – wrong timezone
- This topic has 9 replies, 4 voices, and was last updated 10 years, 4 months ago by
Geoff.
-
AuthorPosts
-
December 7, 2015 at 10:27 am #1037027
Tommy
ParticipantWhen 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
December 8, 2015 at 9:26 am #1037726Cliff
MemberHi 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":20160115T110000On 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:00Since 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.
December 8, 2015 at 12:53 pm #1037812Tommy
ParticipantThis reply is private.
December 8, 2015 at 12:57 pm #1037814Tommy
ParticipantiCal 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)
December 8, 2015 at 3:15 pm #1037874Cliff
MemberThanks 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.
December 8, 2015 at 6:51 pm #1037919Tommy
ParticipantYep I checked Mac settings, iCal settings, WordPress settings, Everything is set to Melbourne time zone. Cheers Cliff
December 8, 2015 at 7:54 pm #1037945Brian
MemberHi,
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?
December 8, 2015 at 8:40 pm #1037957Tommy
ParticipantYes 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?
December 9, 2015 at 10:23 pm #1038587Cliff
MemberThanks, 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!
December 10, 2015 at 2:41 pm #1039213Geoff
MemberHey 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 -
AuthorPosts
- The topic ‘iCal Export – wrong timezone’ is closed to new replies.
