AnsweredAssumed Answered

icalendar and timezone

Question asked by darthvader on Jan 29, 2009
Latest reply on Jul 10, 2009 by rays
Hi,

I've successfully managed to show up the Share's calendar in my pim software (korganizer) using the "ical feed" link. But the start and end date are shifted by one hour. I think this is a time zone issue, since I'm located in Germany (aka GMT+1).
The icalendar feed produced by Share looks like this:
BEGIN:VCALENDAR
PRODID:-//Alfresco Software//Calendar 1.0//EN
VERSION:2.0
BEGIN:VEVENT
UID:c33df3a6-471e-48e7-bbef-5078578b946d
DTSTART:20090225T170000Z
DTEND:20090225T190000Z
SUMMARY:Testevent
DTSTAMP:20090129T183139Z
DESCRIPTION:
END:VEVENT
END:VCALENDAR
According to the ical spec http://tools.ietf.org/html/rfc2445, the tailing "Z" in DTSTART and DTEND indicates UTC. So Alfresco Share obviously operates in UTC.
The system's timezone is set to "Europe/Berlin". Inside the JVM java.util.TimeZone.getDefault() also returns "Europe/Berlin". Seems like Share does not work with timezones.
How can this be changed? Any hints?

Regards,
Stefan

Outcomes