[Tickets #12843] Re: Wrong timezone calculation with CalDAV
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Nov 20 23:49:19 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12843
------------------------------------------------------------------------------
Ticket | 12843
Updated By | nicolas at deffayet.com
Summary | Wrong timezone calculation with CalDAV
Queue | Kronolith
Version | 4.1.4
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
nicolas at deffayet.com (2013-11-20 23:49) wrote:
> Are you sure that the Note has the native Google Calendar app
> installed? AFAIK all Samsung devices with Android 4.1 have Samsung's
> S-Planner app instead.
> Anyway, I tried both S-Planner on a Samsung device, and importing
> your ics file directly. Both work perfectly fine with the correct
> time.
Problem seem to be located on Horde, i have tried to import the ICS
file provided in this ticket in Horde (thanks for the tips to test
this) and Horde show wrong time in Web Interface and show wrong time
in ICS exported from Web Interface.
If you try to import the ICS in Horde:
My Calendars [edit] -> Import
Import ICS file
You will see:
Event title: CalDAV-Sync Test Event
From 11/19/2013 17:00 to 11/19/2013 17:59 Timezone: Europe/Berlin
For reminder, the event is 18:00 CET to 19:00 CET.
Now, if we compare the ICS format of the this event:
Imported ICS file to Horde:
DTSTART;TZID=Europe/Berlin:20131119T180000
DTEND;TZID=Europe/Berlin:20131119T190000
Exported ICS file from Horde:
DTSTART:20131119T160000Z
DTEND:20131119T170000Z
This is wrong, as Horde should have & export:
DTSTART:20131119T170000Z
DTEND:20131119T180000Z
I have tested timezone convertion in php (DateTime/ DateTimeZone with
the exemple
http://stackoverflow.com/questions/2505681/timezone-conversion-in-php)
and this works file, so php is not faulty on Horde server.
Thanks
More information about the bugs
mailing list