Bug 210601 - Clock applet timezone wrong
Summary: Clock applet timezone wrong
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-13 04:00 UTC by Kasper Dupont
Modified: 2008-01-02 15:57 UTC (History)
0 users

Fixed In Version: F8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-02 15:57:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kasper Dupont 2006-10-13 04:00:46 UTC
Description of problem:
The clock applet (/usr/lib/kde3/clock_panelapplet.so) does not show the correct
time zone if the user's time zone differs from the system.

Version-Release number of selected component (if applicable):
kdebase-3.5.4-0.5.fc5

How reproducible:
Happens always

Steps to Reproduce:
1. Configure system for one time zone
2. As an unpriveleged user set your TZ environment variable to a different time
zone. (Must be in a place that gets read before the panel is started, .bashrc
works for me)
3. Log out and in.
  
Actual results:
The clock applet still shows the default time zone for the system

Expected results:
The clock applet shows the time zone chosen by the user.

Additional info:
Through /proc I have verified that kicker does in fact have the TZ environment
variable. I have also verified that using xclock, typing date on the command
line, or using the ctime library function all use the timezone given in the TZ
environment variable.

Comment 1 Lukáš Tinkl 2008-01-02 15:48:02 UTC
Still a problem in F8

Comment 2 Lukáš Tinkl 2008-01-02 15:57:14 UTC
Actually, trying again after logout/login again, it works correctly. (kdebase 
3.5.8 on F7/F8), the TZ variable has to be set prior starting kicker (ie. the 
whole KDE session)


Note You need to log in before you can comment on or make changes to this bug.