Bug 95372 - DST not correctly taken into account for recurring events
Summary: DST not correctly taken into account for recurring events
Status: RESOLVED DUPLICATE of bug 76158
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Reinhold Kainhofer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 23:09 UTC by bert
Modified: 2005-02-13 20:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bert 2004-12-17 23:09:59 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Recurring events that have their time set in UTC in the .ics file are displayed in korganizer with the same local time inside and outside the periods of Daylight Saving Time. There should be one hour difference between the local times in summer and winter.

E.g., this entry:

----------------------------------------------
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML KOrganizer 3.2.1//EN
VERSION:2.0

BEGIN:VEVENT
DTSTAMP:20041217T211526Z
ORGANIZER:MAILTO:unknown@nowhere
CREATED:20040713T135220Z
UID:KOrganizer-629635252.552
SEQUENCE:4
LAST-MODIFIED:20041217T205319Z
DESCRIPTION:test
SUMMARY:telcon
CLASS:PUBLIC
PRIORITY:3
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=TU
DTSTART:20040907T160000Z
DTEND:20040907T170000Z
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT10M
END:VALARM

END:VEVENT

END:VCALENDAR
----------------------------------------------

It starts at 1600Z on a day in the summer, which happens to be 18:00 my local time. It recurs every week, but in the winter it is still shown at 18:00 local time, even though 1600Z is now 17:00 local time.

Loading the above into Mac OS X ical shows that the event is at different times in summer (18:00) and in winter (17:00).

It would be nice to be able to enter events that are the same in local time throughout the year, but then the .ics file must store the time in local time as well. The above entry is constant in UTC, but not in local time.
Comment 1 Reinhold Kainhofer 2005-02-13 20:03:38 UTC
That's the same problem as bug 76158: libkcal internally handles all recurrences in local time, not matter what the original time zone was... This needs to be fixed, of course, by first calculating the recurrence from the actual time with timezone stored in the ics file, and only afterwards translating it to local time.

Cheers, 
Reinhold

*** This bug has been marked as a duplicate of 76158 ***