Bug 72009

Summary: detect user timezone automatically
Product: [Applications] korganizer Reporter: Jason McCormick <jason>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: smartins, wstephenson
Priority: NOR    
Version: 3.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of issue
Example of problem

Description Jason McCormick 2004-01-06 22:45:25 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    RedHat RPMs
OS:          Linux

When reading an e-mail generated by KOrganizer/Calendar, the "pretty display" of the meeing request displays the time of the meeting wrong.  The time is off by the difference of GMT to your local timezone.  For example, scheduling a meeting from 10am to 12noon EST results in the following sentence in the message viewer:

You have been invited to a meeting
The meeting will take place in Meeting Room from 15:00 to 17:00

The difference is the +5GMT between Eastern Time and GMT.  The raw message lists the times properly in GMT and other applications receiving this e-mail interpret the times correctly (verified in Outlook) for the meeting request relative to their timezone.  My local clock is set to +5GMT and Linux and KDE are both using the right timezone (Eastern US/New_York).

I checked for dups of a siliar issue and didn't find any.  Thanks!  I can provide any other information requested.
Comment 1 Jason McCormick 2004-01-06 22:48:29 UTC
Wanted to clarify the Platform.  I chose RedHat RPMs but I'm actually running Fedora Core 1 with the FC1 beta RPMs posted at KDE.  I don't think it'll make a difference, but I wanted to cover all the bases:

[jmccormick@rowan jmccormick]$ cat /etc/redhat-release
Fedora Core release 1 (Yarrow)

[jmccormick@rowan jmccormick]$ rpm -qa | grep ^kde
kdepim-3.1.94-0.1
kdeedu-3.1.94-0.1
kdebindings-devel-3.1.94-0.1
kdetoys-3.1.94-0.1
kdelibs-devel-3.1.94-0.2
kdeadmin-3.1.94-0.1
kdenetwork-devel-3.1.94-0.1
kdemultimedia-3.1.94-0.1
kdenetwork-3.1.94-0.1
kdeartwork-3.1.94-0.1
kdegames-devel-3.1.94-0.1
kdepim-devel-3.1.94-0.1
kdevelop-3.0.0b2-0.2
kdelibs-3.1.94-0.2
kdegames-3.1.94-0.1
kdeutils-3.1.94-0.2
kdebindings-3.1.94-0.1
kdeaccessibility-3.1.94-0.1
kdebase-devel-3.1.94-0.2
kdegraphics-devel-3.1.94-0.1
kdesdk-devel-3.1.94-0.1
kdebase-3.1.94-0.2
kdesdk-3.1.94-0.1
kdeaddons-3.1.94-0.2
kdemultimedia-devel-3.1.94-0.1
kdegraphics-3.1.94-0.1
kdeedu-devel-3.1.94-0.1
kdeutils-devel-3.1.94-0.2
Comment 2 Peter Nunn 2004-05-03 03:04:25 UTC
This could be the same problem as 78903.

Peter.
Comment 3 Daniel Molkentin 2004-07-19 20:14:49 UTC
Does the problem really still presist? If so, please reopen.
Comment 4 Jason Keirstead 2005-11-07 13:49:33 UTC
This problem still exists. Some further details:

- I am in AST ( GMT -4:00 )

- Whenever I get a meeting request, the request does not take the timezone into account. It is added as "GMT".

I have two attachments. First is a screenshot of the problem in action. The time in the body of the message is the correct time of the meeting. The time in the meeting request is being interpereted wrong. The timezone is not being taken into account.

The second attachment is the actual message that is this example.
Comment 5 Jason Keirstead 2005-11-07 13:50:19 UTC
Created attachment 13321 [details]
Screenshot of issue
Comment 6 Jason Keirstead 2005-11-07 13:50:47 UTC
Created attachment 13322 [details]
Example of problem
Comment 7 S. Burmeister 2006-10-28 12:37:05 UTC
I can confirm this bug, yet it is rather a wishlist item from a developer's point of view. From a user's I consider it a bug in KOrganizer.

KOrganizer does not set a timezone automatically. IMHO it should set the timezone it uses by default to the local one. As a result of an empty timezone in Korganizer GMT is assumend for the invitation, i.e. 15:30 for the attached email. However, if I set the timezone in KOrganizer and re-open the message, the correct time is displayed, i.e. 16:30 in my case (Berlin, Germany).

I am not sure about day light saving time. If it still means that between AST and MET there is a 5 hour gap, then 16:30 is correct if there should be a 6 hour gap, there is another bug in KOrganizer.
Comment 8 Will Stephenson 2006-10-28 21:28:55 UTC
Set a timezone in your Korganizer/Calendar settings and the problem will go away.
Comment 9 Reinhold Kainhofer 2006-11-02 18:56:38 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 10 Will Stephenson 2007-01-27 23:21:28 UTC
I'm pretty sure this is the same as 64342, looking at the invitation.
Comment 11 Reinhold Kainhofer 2007-02-19 18:41:50 UTC
At least in KOrganizer from KDE 3.5.6, KOrganizer correctly detects my timezone to be CEST and uses Europe/Vienna in the config dialog of KOrganizer. Of course, this detection is only applied for a new korganizer config. If KOrganizer has already been configured (i.e. run) once, the (in the past wrongly) detected time zone is not changed, of course...

Cheers,
Reinhold
Comment 12 Andreas Schallenberg 2008-06-09 17:51:30 UTC
Related to report #109756.
Comment 13 Sergio Martins 2011-03-12 12:52:19 UTC
KDE4>= correctly handles timezones.