public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale
@ 2007-02-12  9:35 madcoder at debian dot org
  2007-02-12  9:38 ` [Bug libc/4028] " madcoder at debian dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: madcoder at debian dot org @ 2007-02-12  9:35 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/4028] date output is surprising when TZ is set to an unknown locale
  2007-02-12  9:35 [Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale madcoder at debian dot org
@ 2007-02-12  9:38 ` madcoder at debian dot org
  2007-02-12 15:00 ` drepper at redhat dot com
  2009-05-10 13:12 ` aurelien at aurel32 dot net
  2 siblings, 0 replies; 4+ messages in thread
From: madcoder at debian dot org @ 2007-02-12  9:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From madcoder at debian dot org  2007-02-12 09:38 -------
Created an attachment (id=1548)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1548&action=view)
proposed patch


-- 


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/4028] date output is surprising when TZ is set to an unknown locale
  2007-02-12  9:35 [Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale madcoder at debian dot org
  2007-02-12  9:38 ` [Bug libc/4028] " madcoder at debian dot org
@ 2007-02-12 15:00 ` drepper at redhat dot com
  2009-05-10 13:12 ` aurelien at aurel32 dot net
  2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2007-02-12 15:00 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-02-12 15:00 -------
The existing behavior is as valid as any other.  Any change will disrupt things,
though.  No change.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/4028] date output is surprising when TZ is set to an unknown locale
  2007-02-12  9:35 [Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale madcoder at debian dot org
  2007-02-12  9:38 ` [Bug libc/4028] " madcoder at debian dot org
  2007-02-12 15:00 ` drepper at redhat dot com
@ 2009-05-10 13:12 ` aurelien at aurel32 dot net
  2 siblings, 0 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2009-05-10 13:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-05-10 13:12 -------
This bug has been solved in version 2.10, despite the WONTFIX tag.

-- 


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-10 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12  9:35 [Bug libc/4028] New: date output is surprising when TZ is set to an unknown locale madcoder at debian dot org
2007-02-12  9:38 ` [Bug libc/4028] " madcoder at debian dot org
2007-02-12 15:00 ` drepper at redhat dot com
2009-05-10 13:12 ` aurelien at aurel32 dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).