Hello Daniel Berteaud

Am 2014-01-20 18:53, schrieb Daniel Berteaud:
> 
> One of my users received an invite from an Outlook user, and importing
> this event in its SOGo calendar made it one hour later (it was 2-3 pm
> and SOGo imports it as 3-4 pm).
> 
> After looking at the ICS, I can see that it uses the Romance Standard
> Time as Timezone. Looks like this timezone is not standard (hey, once
> again, thanks MS for using non standard stuff) and SOGo complains about it:
> 
> timezone 'Romance Standard Time' not found in calendar
> 
> The start and end date in the ICS is defined like this:
> 
> DTSTART;TZID=Romance Standard Time:20140128T140000
> DTEND;TZID=Romance Standard Time:20140128T150000
> 
> Is there a way to make this non standard timezone be interpreted by SOGo
> as CET ?
> 

The only way I know of is to include this timezone in the ics files send
with that TZID.

This would be something like that after BEGIN:VCALENDAR and before the
BEGIN:VEVENT lines:

BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19810329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19961027T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
TZNAME:CET
END:STANDARD
END:VTIMEZONE

I don't know since when this timezone exists, so both DTSTART values are
probably wrong (I used the german ones here).
Be aware, that lines in ics files are always terminated by CR LF.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to