Package: coreutils
Version: 5.2.1-2
Severity: minor

'date' produces erroneous output when TZ is set incorrectly.

This works correctly:
  $ TZ=GMT date
  Thu Apr 28 17:45:35 GMT 2005
  $ TZ=CET date
  Thu Apr 28 19:45:38 CEST 2005

This is incorrect, but it looks valid:
  $ TZ=CEST date
  Thu Apr 28 17:45:40 CEST 2005

"FOOBAR" should probably be "UCT":
  $ TZ=FOOBAR date
  Thu Apr 28 17:45:44 FOOBAR 2005

For reference:
  $ TZ="" date
  Thu Apr 28 17:45:49 UCT 2005

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: hppa (parisc)
Kernel: Linux 2.6.12-rc3-pa1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages coreutils depends on:
ii  libacl1                     2.2.23-1     Access control list shared library
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to