[Tickets #12843] Re: Wrong timezone calculation with CalDAV
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue Feb 4 09:56:31 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12843
------------------------------------------------------------------------------
Ticket | 12843
Updated By | herde at tuhh.de <herde at tuhh.de>
Summary | Wrong timezone calculation with CalDAV
Queue | Kronolith
Version | 4.1.4
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
info at individual-it.net (2014-01-31 01:51) wrote:
I have the same problem.
I'm syncing with android CalDAV and Thunderbird/Lightning over CalDAV
to Horde via HTTPS.
The timezone of my Horde Calendar and my Devices are Asia/Kathmandu
If I create a new event in my local timezone everething is fine.
If I create a new event in a foreigh timezone with the web interface
everething is also fine.
But If I create in Thunderbird/Android an event in the foreign
timezone I get it back with the foreign timezone but the time is set
to what should be in my local timezone.
E.g. if I create a event for 8:00 in Europe/Berlin I get it back as
12:45 Europe/Berlin and 17:30 Asia/Kathmandu but it should be 12:45
Asia/Kathmandu
I'm using horde 5.1.1
An other user wrote about that same problem on the mailing list:
http://horde.690.n7.nabble.com/Timezone-change-after-synchronize-event-from-evolution-tt119034.html#none
> I'm sorry, there is really a problem as you can see bellow.
> Can you please tell me how the timezone parsing is done in Horde
> when importing ICS data ?
>
> Did Horde use TZID and/or X-LIC-LOCATION line or use only DTSTART/DTEND ?
>
> As you can see bellow, when timezone in TZID and X-LIC-LOCATION
> lines are different than timezone in DTSTART and DTEND lines it works.
>
> --->
> BEGIN:VCALENDAR
> VERSION:2.0
> PRODID:-//dmfs.org//mimedir.icalendar//EN
> BEGIN:VTIMEZONE
> TZID:Europe/Berlin
> X-LIC-LOCATION:Europe/Berlin
> BEGIN:DAYLIGHT
> TZOFFSETFROM:+0100
> TZOFFSETTO:+0200
> TZNAME:CEST
> DTSTART:19700329T020000
> RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
> END:DAYLIGHT
> BEGIN:STANDARD
> TZOFFSETFROM:+0200
> TZOFFSETTO:+0100
> TZNAME:CET
> DTSTART:19701025T030000
> RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
> END:STANDARD
> END:VTIMEZONE
> BEGIN:VEVENT
> DTSTART;TZID=Europe/Berlin:20131119T180000
> DESCRIPTION:Some Description
> SUMMARY:CalDAV-Sync Test Event
> LOCATION:Some Location
> TRANSP:OPAQUE
> STATUS:CONFIRMED
> DTEND;TZID=Europe/Berlin:20131119T190000
> LAST-MODIFIED:20131118T133721Z
> DTSTAMP:20131118T133721Z
> CREATED:20131118T133721Z
> UID:d9efd40a-39b5-4d62-9129-83ff649fa1a8
> BEGIN:VALARM
> TRIGGER;VALUE=DURATION:-PT10M
> ACTION:DISPLAY
> DESCRIPTION:Default Event Notification
> X-WR-ALARMUID:45da49a7-9941-4ff9-8b27-b45c5c4c4c39
> END:VALARM
> END:VEVENT
> END:VCALENDAR
> --->
>
> Show:
>
> Event title: CalDAV-Sync Test Event
> From 11/19/2013 17:00 to 11/19/2013 17:59 Timezone: Europe/Berlin
> => The date is converted but there is no reason to convert it as in
> the ics file there is:
> DTSTART;TZID=Europe/Berlin:20131119T180000
> DTEND;TZID=Europe/Berlin:20131119T190000
>
>
> Now, just do the following modification in the ICS file:
> -DTSTART;TZID=Europe/Berlin:20131119T180000
> +DTSTART;TZID=Europe/Paris:20131119T180000
> -DTEND;TZID=Europe/Berlin:20131119T190000
> +DTEND;TZID=Europe/Paris:20131119T190000
>
> (and so keep Europe/Berlin for TZID and X-LIC-LOCATION.)
>
> --->
> BEGIN:VCALENDAR
> VERSION:2.0
> PRODID:-//dmfs.org//mimedir.icalendar//EN
> BEGIN:VTIMEZONE
> TZID:Europe/Berlin
> X-LIC-LOCATION:Europe/Berlin
> BEGIN:DAYLIGHT
> TZOFFSETFROM:+0100
> TZOFFSETTO:+0200
> TZNAME:CEST
> DTSTART:19700329T020000
> RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
> END:DAYLIGHT
> BEGIN:STANDARD
> TZOFFSETFROM:+0200
> TZOFFSETTO:+0100
> TZNAME:CET
> DTSTART:19701025T030000
> RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
> END:STANDARD
> END:VTIMEZONE
> BEGIN:VEVENT
> DTSTART;TZID=Europe/Paris:20131119T180000
> DESCRIPTION:Some Description
> SUMMARY:CalDAV-Sync Test Event
> LOCATION:Some Location
> TRANSP:OPAQUE
> STATUS:CONFIRMED
> DTEND;TZID=Europe/Paris:20131119T190000
> LAST-MODIFIED:20131118T133721Z
> DTSTAMP:20131118T133721Z
> CREATED:20131118T133721Z
> UID:d9efd40a-39b5-4d62-9129-83ff649fa1a8
> BEGIN:VALARM
> TRIGGER;VALUE=DURATION:-PT10M
> ACTION:DISPLAY
> DESCRIPTION:Default Event Notification
> X-WR-ALARMUID:45da49a7-9941-4ff9-8b27-b45c5c4c4c39
> END:VALARM
> END:VEVENT
> END:VCALENDAR
> --->
>
> Show:
>
> Event title: CalDAV-Sync Test Event
> From 11/19/2013 18:00 to 11/19/2013 18:59 Timezone: Europe/Paris
>
> Of course, i have tried this two imports tests multiple times for be
> sure of the result.
More information about the bugs
mailing list