View Issue Details

IDProjectCategoryView StatusLast Update
0001845SOGoWeb Calendarpublic2012-06-19 13:25
Reporterpcuif Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Target Version1.3.17Fixed in Version1.3.17 
Summary0001845: Wrong timezone when importing events from .ics file
Description

When importing events from an ics file into SOGo through the web interface, the newly created events are always displayed in the web interface using the "floating time" rule, no matter the "Z" is appended to the date and time DTSTART and DTEND attributes or not.
On Thunderbird the same events are properly displayed according to the "Z" parameter.

Additional Information

Using the web interface, I import the attached ics file. This file contains only 2 events definition.
The first one uses the "floating time" rule (the time is specified without any reference to any timzone). The event is expected to be displayed in the user's calendar at the specified time (here 07:30AM to 08:30 AM)
The second one uses the "Z" time reference; This means that the time reference used is "UTC". The event is expected to be displayed in the user's calendar according to the timeshift beetween the user's timezone (specified in the user's preferences) and the UTC. My timezone is Europe/Paris. Daylight Saving Time is active. Time offset is then 2 hours "ahead" UTC. This event is then expected to appear beetween 09:30AM and 10:30AM in my calendar.

On the web interface, the 2 events appear side by side beetween 07:30AM and 08:30AM
On Thunderbird, the "floating time" event starts right at 07:30AM, and the "UTC" event starts right at 09:30

TagsNo tags attached.

Activities

2012-06-18 15:08

 

extrait.ics (585 bytes)   
BEGIN:VCALENDAR
BEGIN:VEVENT
UID:20120618T151144-2508-1244-1267-40@localhost
ORGANIZER:MAILTO:CUIF Philippe
DTSTAMP:20120618T151144
DTSTART:20120618T073000
DTEND:20120618T083000
TRANSP:OPAQUE
SEQUENCE:0
SUMMARY:07h30 to 08h30 without Z (floating time)
PRIORITY:4
CLASS:PUBLIC
END:VEVENT
BEGIN:VEVENT
UID:20120618T151144-2508-1244-1267-40@localhost
ORGANIZER:MAILTO:CUIF Philippe
DTSTAMP:20120618T151144
DTSTART:20120618T073000Z
DTEND:20120618T083000Z
TRANSP:OPAQUE
SEQUENCE:0
SUMMARY:07h30 to 08h30 with Z (UTC)
PRIORITY:4
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR
extrait.ics (585 bytes)   
pcuif

pcuif

2012-06-18 15:11

reporter   ~0004062

Sorry, I forgot to mention that we use 2.00RC2

ludovic

ludovic

2012-06-18 17:45

administrator   ~0004071

Are you in a position to try a nightly build? Or even better, a patch?

pcuif

pcuif

2012-06-19 07:16

reporter   ~0004074

Yes we can :D
We have a test system and a (almost) live one. We have updated both this morning (french time) to the latest nightly build. We are waiting for your instructions.

ludovic

ludovic

2012-06-19 13:24

administrator   ~0004077

Fixed: http://mtn.inverse.ca/revision/diff/6105680d967d026c63b9b9f96cb3aeae9884e804/with/b532b841f572a64aa9b471da32a51bb939539334

Issue History

Date Modified Username Field Change
2012-06-18 15:08 pcuif New Issue
2012-06-18 15:08 pcuif File Added: extrait.ics
2012-06-18 15:11 pcuif Note Added: 0004062
2012-06-18 15:14 ludovic Target Version => 1.3.17
2012-06-18 17:45 ludovic Note Added: 0004071
2012-06-19 07:16 pcuif Note Added: 0004074
2012-06-19 13:24 ludovic Note Added: 0004077
2012-06-19 13:24 ludovic Status new => resolved
2012-06-19 13:24 ludovic Fixed in Version => 1.3.17
2012-06-19 13:24 ludovic Resolution open => fixed
2012-06-19 13:24 ludovic Assigned To => ludovic
2012-06-19 13:25 ludovic Status resolved => closed