Red Hat Bugzilla – Bug 210601
Clock applet timezone wrong
Last modified: 2008-01-02 10:57:14 EST
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):
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.
The clock applet still shows the default time zone for the system
The clock applet shows the time zone chosen by the user.
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
Still a problem in F8
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)