iCal Import Event Time adds 2 hours to Start and End time...

Freelancer

Active Member
This is an export of an event that I created in the iCal program. My setting is Central European time.

Code:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//Mac OS X 10.11.6//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
CREATED:20170921T155526Z
UID:EAAAEB8C-E129-455F-8098-A5223338AE56
DTEND;VALUE=DATE:20170929
TRANSP:TRANSPARENT
X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
SUMMARY:Test Event
DTSTART;VALUE=DATE:20170928
DTSTAMP:20170921T155544Z
SEQUENCE:0
DESCRIPTION:Test Event Description
BEGIN:VALARM
X-WR-ALARMUID:E3DC4698-0A90-4F6E-BCB5-63FE58158F63
UID:E3DC4698-0A90-4F6E-BCB5-63FE58158F63
TRIGGER:-PT15H
X-APPLE-DEFAULT-ALARM:TRUE
ATTACH;VALUE=URI:Basso
ACTION:AUDIO
END:VALARM
END:VEVENT
END:VCALENDAR

The above should insert a Time of 0000 28th to 0000 29th because no time is in the data.

Instead of 0000 it adds 2 hours:

Bildschirmfoto 2017-09-25 um 20.37.29.webp
Bildschirmfoto 2017-09-25 um 20.37.41.webp



This is also true for events that start at a specific time...

This is them .ics file exported from iCal:

Code:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//Mac OS X 10.11.6//EN
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
DTSTART:19810329T020000
TZNAME:MESZ
TZOFFSETTO:+0200
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
DTSTART:19961027T030000
TZNAME:MEZ
TZOFFSETTO:+0100
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20170925T184818Z
UID:B0EBD778-BE3D-4B87-8BB4-ECB19E6E4832
DTEND;TZID=Europe/Berlin:20170929T213000
TRANSP:OPAQUE
X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
SUMMARY:Test Event #234
DTSTART;TZID=Europe/Berlin:20170929T203000
DTSTAMP:20170925T184840Z
SEQUENCE:0
BEGIN:VALARM
X-WR-ALARMUID:0E0232FF-AF81-4FFD-8EF9-EA8A00454467
UID:0E0232FF-AF81-4FFD-8EF9-EA8A00454467
TRIGGER:-PT1H
X-APPLE-DEFAULT-ALARM:TRUE
ATTACH;VALUE=URI:Basso
ACTION:AUDIO
END:VALARM
END:VEVENT
END:VCALENDAR

Which also adds 2 hrs:

Bildschirmfoto 2017-09-25 um 20.53.59.webp


I see there is a TZOFFSETFROM:+0200 and TZOFFSETTO:+0200 but why is that not in the Social Groups export files but instead there are 2 hrs deducted from the time...

This is an event manually created in the calendar of Social Groups:

Bildschirmfoto 2017-09-25 um 21.04.42.webp

This is what the export from Social Groups makes of it – it shows 2 hrs less....

Code:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
CALSCALE:GREGORIAN
X-WR-CALNAME:Test Event
BEGIN:VEVENT
CREATED:20170925T181905Z
DTEND;TZID=Europe/Amsterdam:20170925T184517Z
UID:59c95355b76b2
DTSTAMP:20170925T190453Z
LOCATION:
DESCRIPTION:Description
URL;VALUE=URI:https://www.tacticalbeardownersclub.com/groups/events/test-event.13/
SUMMARY:Test Event
DTSTART;TZID=Europe/Amsterdam:20170925T181800Z
BEGIN:VALARM
X-WR-ALARMUID:59c95355b76e7
UID:59c95355b76e7
TRIGGER;VALUE=DATE-TIME:20170925T181800Z
ACTION:NONE
DESCRIPTION:Test Event
END:VALARM
BEGIN:VALARM
X-WR-ALARMUID:59c95355b76f2
UID:59c95355b76f2
TRIGGER:-PT15M
DESCRIPTION:Test Event
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR


Some of the values in the files must be interpreted wrongly or mixed together in import / export...
 
Back
Top