This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale
- From: "madcoder at debian dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Feb 2007 09:35:28 -0000
- Subject: [Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale
- Reply-to: sourceware-bugzilla at sourceware dot org
for example:
$ TZ=IDIOT date
Wed Jan 19 19:54:58 IDIOT 2000
here it's harmless. but for
$ TZ=PST date
Mon Feb 12 09:34:02 PST 2007
it's not ast the correct value is:
$ TZ=PST8DST date
Mon Feb 12 01:34:14 PST 2007
Attached is a patch that do not reuse TZ value if no offset was provided, and
that instead clearly state that UTC was the chosen timezone to display the
date.
--
Summary: date output is surprising when TZ is set to an unknown
locale
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: madcoder at debian dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4028
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.