Debian Bug report logs - #661242
gnome-shell: clock shows UTC time instead of local when POSIX timezone format is specified in the environment

version graph

Package: gnome-shell; Maintainer for gnome-shell is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for gnome-shell is src:gnome-shell (PTS, buildd, popcon).

Reported by: Mike Miller <mtmiller@debian.org>

Date: Sat, 25 Feb 2012 14:21:20 UTC

Severity: normal

Found in versions gnome-shell/3.4.2-7+deb7u1, gnome-shell/3.2.2.1-1, gnome-shell/3.4.2-2

Fixed in version gnome-shell/3.8.4-5

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#661242; Package gnome-shell. (Sat, 25 Feb 2012 14:21:23 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Miller <mtmiller@ieee.org>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 25 Feb 2012 14:21:24 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mike Miller <mtmiller@ieee.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnome-shell: clock shows UTC time instead of local when POSIX timezone format is specified in the environment
Date: Sat, 25 Feb 2012 09:20:24 -0500
Package: gnome-shell
Version: 3.2.2.1-1
Severity: normal

My ~/.profile has had a TZ variable defined using the "full" POSIX timezone
specification, as follows:

  export TZ=EST5EDT,M3.2.0,M11.1.0

The gnome-shell clock shows UTC when this is in the environment, the expected
result is to display the local time correctly as defined by that timezone
specification.  If I use the fallback gnome session, the clock applet shows the
correct local time.

If I change the TZ string to just "EST5EDT" the correct local time is shown.
If I remove the TZ variable entirely, the correct system-wide local time is
shown.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.10.0-3
ii  gir1.2-accountsservice-1.0                   0.6.15-3
ii  gir1.2-atk-1.0                               2.2.0-2
ii  gir1.2-caribou-1.0                           0.4.1-2
ii  gir1.2-clutter-1.0                           1.8.4-1
ii  gir1.2-cogl-1.0                              1.8.2-1
ii  gir1.2-coglpango-1.0                         1.8.2-1
ii  gir1.2-folks-0.6                             0.6.6-1
ii  gir1.2-freedesktop                           1.31.10-1
ii  gir1.2-gconf-2.0                             2.32.4-1
ii  gir1.2-gdkpixbuf-2.0                         2.24.1-1
ii  gir1.2-gee-1.0                               0.6.1-3
ii  gir1.2-gkbd-3.0                              3.2.0-1
ii  gir1.2-glib-2.0                              1.31.10-1
ii  gir1.2-gmenu-3.0                             3.2.0.1-2
ii  gir1.2-gnomebluetooth-1.0                    3.2.2-1
ii  gir1.2-gtk-3.0                               3.2.3-1
ii  gir1.2-json-1.0                              0.14.2-1
ii  gir1.2-mutter-3.0                            3.2.2-1
ii  gir1.2-networkmanager-1.0                    0.9.2.0-2
ii  gir1.2-pango-1.0                             1.29.4-2
ii  gir1.2-polkit-1.0                            0.104-2
ii  gir1.2-soup-2.4                              2.34.3-1
ii  gir1.2-telepathyglib-0.12                    0.16.2-1
ii  gir1.2-telepathylogger-0.2                   0.2.12-1
ii  gir1.2-upowerglib-1.0                        0.9.15-2
ii  gjs                                          1.30.1-1
ii  gnome-bluetooth                              3.2.2-1
ii  gnome-icon-theme-symbolic                    3.2.2-1
ii  gnome-settings-daemon                        3.2.2-2
ii  gnome-shell-common                           3.2.2.1-1
ii  gsettings-desktop-schemas                    3.2.0-2
ii  libatk1.0-0                                  2.2.0-2
ii  libc6                                        2.13-26
ii  libcairo-gobject2                            1.10.2-6.2
ii  libcairo2                                    1.10.2-6.2
ii  libcamel-1.2-29                              3.2.2-1
ii  libcanberra0                                 0.28-3
ii  libclutter-1.0-0                             1.8.4-1
ii  libcogl-pango0                               1.8.2-1
ii  libcogl5                                     1.8.2-1
ii  libcroco3                                    0.6.4-2
ii  libdbus-1-3                                  1.4.16-1
ii  libdbus-glib-1-2                             0.98-1
ii  libdrm2                                      2.4.30-1
ii  libebook-1.2-12                              3.2.2-1
ii  libecal-1.2-10                               3.2.2-1
ii  libedataserver-1.2-15                        3.2.2-1
ii  libedataserverui-3.0-1                       3.2.2-1
ii  libffi5                                      3.0.10-3
ii  libfolks25                                   0.6.6-1
ii  libfontconfig1                               2.8.0-3.1
ii  libfreetype6                                 2.4.8-1
ii  libgconf2-4                                  2.32.4-1
ii  libgdk-pixbuf2.0-0                           2.24.1-1
ii  libgee2                                      0.6.1-3
ii  libgirepository-1.0-1                        1.31.10-1
ii  libgjs0b [libgjs0-libmozjs185-1.0]           1.30.1-1
ii  libgl1-mesa-glx [libgl1]                     7.11.2-1
ii  libglib2.0-0                                 2.30.2-6
ii  libgnome-desktop-3-2                         3.2.1-3
ii  libgnome-keyring0                            3.2.2-2
ii  libgnome-menu-3-0                            3.2.0.1-2
ii  libgstreamer0.10-0                           0.10.35-1
ii  libgtk-3-0                                   3.2.3-1
ii  libical0                                     0.44-3
ii  libjson-glib-1.0-0                           0.14.2-1
ii  libmozjs185-1.0                              1.8.5-1.0.0+dfsg-3
ii  libmutter0                                   3.2.2-1
ii  libnm-glib4                                  0.9.2.0-2
ii  libnm-util2                                  0.9.2.0-2
ii  libnspr4-0d                                  4.9~beta5-2
ii  libnss3-1d                                   3.13.1.with.ckbi.1.88-1
ii  libpango1.0-0                                1.29.4-2
ii  libpolkit-agent-1-0                          0.104-2
ii  libpolkit-gobject-1-0                        0.104-2
ii  libpulse-mainloop-glib0                      1.0-4
ii  libpulse0                                    1.0-4
ii  libsoup2.4-1                                 2.34.3-1
ii  libsqlite3-0                                 3.7.10-1
ii  libstartup-notification0                     0.12-1
ii  libtelepathy-glib0                           0.16.2-1
ii  libtelepathy-logger2                         0.2.12-1
ii  libx11-6                                     2:1.4.4-4
ii  libxcomposite1                               1:0.4.3-2
ii  libxdamage1                                  1:1.1.3-2
ii  libxext6                                     2:1.3.0-3
ii  libxfixes3                                   1:5.0-4
ii  libxi6                                       2:1.4.5-1
ii  libxml2                                      2.7.8.dfsg-7
ii  python                                       2.7.2-10
ii  telepathy-mission-control-5                  1:5.10.1-2

Versions of packages gnome-shell recommends:
ii  gnome-contacts          3.2.2-2
ii  gnome-control-center    1:3.2.2-2
ii  gnome-session-fallback  3.2.1-1
ii  gnome-themes-standard   3.2.1-2

gnome-shell suggests no packages.

-- no debconf information




Changed Bug submitter to 'Mike Miller <mtmiller@debian.org>' from 'Mike Miller <mtmiller@ieee.org>' Request was from Mike Miller <mtmiller@debian.org> to control@bugs.debian.org. (Thu, 12 Dec 2013 14:12:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#661242; Package gnome-shell. (Wed, 19 Mar 2014 15:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to althaser <althaser@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Wed, 19 Mar 2014 15:27:05 GMT) (full text, mbox, link).


Message #12 received at 661242@bugs.debian.org (full text, mbox, reply):

From: althaser <althaser@gmail.com>
To: mtmiller@debian.org
Cc: 661242@bugs.debian.org
Subject: RE: gnome-shell: clock shows UTC time instead of local when POSIX timezone format is specified in the environment
Date: Wed, 19 Mar 2014 15:25:43 +0000
[Message part 1 (text/plain, inline)]
Hey,

this is an old bug report.

Could you please still reproduce this issue with newer gnome-shell version
like 3.4.2-7+deb7u1 or 3.8.4-5+b1 ?

thanks
regards
althaser
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#661242; Package gnome-shell. (Thu, 20 Mar 2014 02:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Miller <mtmiller@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 20 Mar 2014 02:48:05 GMT) (full text, mbox, link).


Message #17 received at 661242@bugs.debian.org (full text, mbox, reply):

From: Mike Miller <mtmiller@debian.org>
To: althaser <althaser@gmail.com>
Cc: 661242@bugs.debian.org
Subject: Re: gnome-shell: clock shows UTC time instead of local when POSIX timezone format is specified in the environment
Date: Wed, 19 Mar 2014 22:45:45 -0400
On Wed, Mar 19, 2014 at 15:25:43 +0000, althaser wrote:
> Could you please still reproduce this issue with newer gnome-shell version
> like 3.4.2-7+deb7u1 or 3.8.4-5+b1 ?

I haven't tried with wheezy yet, but yes this now works for me with the
version in jessie. I will check other versions when I get a chance.
Thanks for the reminder to revisit this.

-- 
mike



Marked as fixed in versions gnome-shell/3.8.4-5. Request was from althaser <althaser@gmail.com> to control@bugs.debian.org. (Thu, 20 Mar 2014 11:54:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#661242; Package gnome-shell. (Wed, 16 Apr 2014 00:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Miller <mtmiller@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Wed, 16 Apr 2014 00:45:04 GMT) (full text, mbox, link).


Message #24 received at 661242@bugs.debian.org (full text, mbox, reply):

From: Mike Miller <mtmiller@debian.org>
To: 661242@bugs.debian.org
Subject: Re: gnome-shell: clock shows UTC time instead of local when POSIX timezone format is specified in the environment
Date: Tue, 15 Apr 2014 20:43:22 -0400
Control: found -1 gnome-shell/3.4.2-2
Control: found -1 gnome-shell/3.4.2-7+deb7u1

On Wed, Mar 19, 2014 at 22:45:45 -0400, Mike Miller wrote:
> On Wed, Mar 19, 2014 at 15:25:43 +0000, althaser wrote:
> > Could you please still reproduce this issue with newer gnome-shell version
> > like 3.4.2-7+deb7u1 or 3.8.4-5+b1 ?
> 
> I haven't tried with wheezy yet, but yes this now works for me with the
> version in jessie. I will check other versions when I get a chance.

Bug is still present in the current version in wheezy. Also snagged
3.4.2-2 from snapshot.d.o to verify it is found there as well.

-- 
mike



Marked as found in versions gnome-shell/3.4.2-2. Request was from Mike Miller <mtmiller@debian.org> to 661242-submit@bugs.debian.org. (Wed, 16 Apr 2014 00:45:04 GMT) (full text, mbox, link).


Marked as found in versions gnome-shell/3.4.2-7+deb7u1. Request was from Mike Miller <mtmiller@debian.org> to 661242-submit@bugs.debian.org. (Wed, 16 Apr 2014 00:45:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 06:30:15 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.