Dave
Forum Replies Created
-
OK, we have the “hacky” fix for anyone who needs help with this…
In “all-in-one-event-calendar/app/helper/class-ai1ec-importer-helper.php” change lines 166 and 167 from
$start = $this->time_array_to_timestamp( $start, $timezone ); $end = $this->time_array_to_timestamp( $end, $timezone );To
$start = $this->time_array_to_timestamp( $start, ‘YOUR TIMEZONE ID’ ); $end = $this->time_array_to_timestamp( $end, ‘YOUR TIMEZONE ID’ );‘YOUR TIMEZONE ID’ Look here: http://php.net/manual/en/timezones.php
Hope this helps!
OK, so from what we can tell if you export a partial calendar (only 30 day or so) it won’t include any timezone information. If you export the entire calendar it has the timezone information that I listed above, but still shows up a day off.
We changed the timezone information to “America/Indiana/Indianapolis” (per the PHP instructions) and it’s still showing up the same way, a day behind.
Any other ideas?
When is 1.9 scheduled for release, can we beta test it for you?
Thanks,
Dave
Looks to me like it’s there, let me know what you find out.
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
X-CALSTART:20050117T000000
X-WR-RELCALID:{0000002E-5794-CF57-1ED9-A2C05F94993C}
X-WR-CALNAME:Company Calendar
BEGIN:VTIMEZONE
TZID:Eastern Time (US & Canada)
BEGIN:STANDARD
DTSTART:16011104T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010311T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VTIMEZONE
TZID:Indiana (East)
BEGIN:STANDARD
DTSTART:16010101T000000
TZOFFSETFROM:-0500
TZOFFSETTO:-0500
END:STANDARD
END:VTIMEZONE