Bug 184662 - A UTC event spanning a time zone shift is displayed at the wrong time in summer/winter time
Summary: A UTC event spanning a time zone shift is displayed at the wrong time in summ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: timezones (show other bugs)
Version: 4.2.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 15:16 UTC by Reinhold Kainhofer
Modified: 2017-01-07 22:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
recurring event at noon UTC, wrongly displayed at 13:00 CEST during summer time (542 bytes, text/calendar)
2009-02-17 15:17 UTC, Reinhold Kainhofer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reinhold Kainhofer 2009-02-17 15:16:38 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

I have a recurring event in UTC time, starting at 12:00 UTC Feb 17, 2009, and KOrganizer is set to the TZ Europe/Vienna. Thus, the event recurs weekly at 12:00 UTC and will be displayed on Feb 17 at 13:00 Europe/Vienna (CET). However, during summer time (starting March 29, 2009), 12:00 UTC is actually 14:00 Europe/Vienna (CEST). KOrganizer on the other hand displays this event also at 13:00 Europe/Vienna during summer time (which means it occurs at 11:00 UTC)!

I'm attaching such an event. During summer time periods the event should be displayed at 14:00 CEST and during winter time at 13:00 CET.
Comment 1 Reinhold Kainhofer 2009-02-17 15:17:31 UTC
Created attachment 31401 [details]
recurring event at noon UTC, wrongly displayed at 13:00 CEST during summer time
Comment 2 Reinhold Kainhofer 2009-02-17 15:21:38 UTC
As a further complication, if I then dissociate an instance of that recurring event during summer time, the dissociated event will suddenly shift to the correct 14:00 CEST! This is very confusing, unless you know that the recurring event was displayed at the wrong time. A normal user will not understand this.
Comment 3 Andrey 2009-04-17 02:13:19 UTC
Hmm...

It seems to be also related to this problem:

I use KDE 3.5.10 and sync with Google Calendar 
via GCALDaemon through *.ics file.

During the winter all seemed to be synchronized correctly.
But now after a switch to summer time I see the following:
all recurring events start one hour later 
and all single events have correct time.

I guess time for recurring events is somehow distorted 
in *.ics files produced by KOrganizer (new and old).
Comment 4 Andrey 2009-04-17 17:16:31 UTC
The problem seems to be, that KDE3 calendar files
and the attached file 'UTC_Summertime.ics'
only contain time for all events in UTC format
and no information about timezone or DST.
If KOrganizer opens this kind of file,
it doesn't ask you, whether you want to 
choose absolute or relative time.
No dialog popping up.

Changing timezone in KOrganizer may act as a workaround:
Settings -> Configure KOrganizer -> Time and Date.

Then a dialog window "Keep Absolute Times?" WILL pop-up:
"The time zone setting was changed. Do you want to keep the absolute time of the items in your calendar, which will show them to be at a different time than before, or move them to be at the old time also in the new time zone?"

So if you want time to remain in UTC, choose "Keep Times".
Comment 5 Paul Adams 2010-03-31 16:05:31 UTC
Version: Using KDE 4.4.1
OS: Linux
Installed from: Kubuntu packages (from riddell's PPA for Karmic)

I added a one-off event for Wednesday, 7 April 2010 for 16:30 UTC. It should have appeared at 17:30 BST in my calendar. Instead it was placed as 15:30 BST.
Comment 6 Paul Adams 2010-03-31 20:43:15 UTC
This issue appears to be resolved in KDE 4.4.2. Tested using Kontact under 4.4.2 on Kubuntu (riddell's ppa).
Comment 7 Heiner Markert 2011-12-03 15:18:27 UTC
This problem seems to have reappeared in 4.7.
I am not sure whether these are related, but it sounds similar to what I reported recently in https://bugs.kde.org/show_bug.cgi?id=285743
Comment 8 Denis Kurz 2016-09-24 18:53:24 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 9 Denis Kurz 2017-01-07 22:22:29 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.