This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]