Bug 282985 - Date time displayed in the incorrect timezome in description and calendar
Summary: Date time displayed in the incorrect timezome in description and calendar
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: timezones (show other bugs)
Version: 4.3.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 19:54 UTC by wonsjb
Modified: 2017-01-07 22:50 UTC (History)
1 user (show)

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 wonsjb 2011-09-28 19:54:08 UTC
Version:           4.3.2 (using KDE 1.2) 
OS:                Linux

This bug is both in kmail and korganizer, and is probably in the common code that handle VCS/ICS parsing.

I am working on a server which default timezone is UTC.
However, being in new york, I set TZ=America/New_York before starting KDE. (running using exceed, over a SSH X tunnel done by putty).

The problem is that when I export a meeting invitation from kmail, the begin and end time are displayed in the html looking displaying panel in UTC. They are also placed in my calendar at the UTC time location. However, if I double click on the even in the calendar, I get the start date and end date correct.

For instance, If I have a meeting from 4pm to 5:30pm EST, it will first display in Kmail being a 8:00pm to 9:30pm meeting (in the message viewing display), even if the actual invitation is correct:
DTSTART;TZID="(UTC-05:00) Eastern Time (US & Canada)":20111005T160000
DTEND;TZID="(UTC-05:00) Eastern Time (US & Canada)":20111005T173000

Then it get placed at the 8:00 to 9:30pm slot in the calendar, and says 08:00pm - 09:30 pm both on the calendar, and on the html looking display of the meeting.

But if I double click on the event, the Edit Event dialog pops up, and surprise, the Start and End time are now 04:00pm and 05:30pm

Reproducible: Always

Steps to Reproduce:
Setup the machine with UTC default system timezone, set TZ=America/New_York, and accept a meeting with times specified with 04:00pm EST.

Actual Results:  
The meeting is displayed in kmail, and in korganizer calendar at 8:00pm (but at 4:00 in the edit event dialog)

Expected Results:  
It should be displayed at 4:00pm in kmail, and everywhere in korganizer.
Comment 1 Allen Winter 2011-09-29 23:08:11 UTC
any chance you can upgrade from version 4.3.2 to something more modern?  at least get up to version 4.4.10 or higher.

i'm sure we fixed a lot of those timezone issues in more modern versions.
Comment 2 wonsjb 2011-10-06 17:39:27 UTC
Ok, I will then update my distro, and check if the bug is still there.
Comment 3 wonsjb 2011-10-24 05:08:40 UTC
I can see the bug happening in korganizer 4.4.11, kmail 1.13.7, using kde 4.6.5.

I tried also having my /etc/localtime to be something else than UTC, like JST, and in both case, both kmail and korganizer ignore the value of TZ to display the meeting invitation, and take what is setup with /etc/localtime
Comment 4 Denis Kurz 2016-09-24 18:45:21 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 5 Denis Kurz 2017-01-07 22:50:15 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.