public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libc/6005] New: Date doesn't show 1 day before if it's about to change timezone @ 2008-03-30 23:13 shinden at linux dot pl 2008-03-31 17:51 ` [Bug libc/6005] " shinden at linux dot pl ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: shinden at linux dot pl @ 2008-03-30 23:13 UTC (permalink / raw) To: glibc-bugs Date show time off by 1 hour, if at previous day it's was timezone change. E.g.: sh@hoth:~/ > date Mon Mar 31 00:43:49 CEST 2008 sh@hoth:~/ > date -d '1 day ago' Sat Mar 29 23:43:47 CET 2008 sh@hoth:~/ > date -d '2 hours ago' Sun Mar 30 22:44:58 CEST 2008 sh@hoth:~/ > date --version date (GNU coreutils) 6.10 But, if it's past 01:00 day after timezone change, it shows correct time: sh@hoth:~/ > date Mon Mar 31 01:35:00 CEST 2008 sh@hoth:~/ > date -d '1 day ago' Sun Mar 30 00:35:02 CET 2008 I can see in logs that timezone was changed at 2:00 to 3:00. This is glibc-2.7. Older glibc (2.3.5) and coreutils (5.2.1) doesn't have this bug. It looks like it internally change date at midnight, not 2:00. It should display missing hour according to timezone. -- Summary: Date doesn't show 1 day before if it's about to change timezone Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: shinden at linux dot pl CC: glibc-bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=6005 ------- 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/6005] Date doesn't show 1 day before if it's about to change timezone 2008-03-30 23:13 [Bug libc/6005] New: Date doesn't show 1 day before if it's about to change timezone shinden at linux dot pl @ 2008-03-31 17:51 ` shinden at linux dot pl 2008-04-08 0:45 ` drepper at redhat dot com 2010-06-01 3:41 ` pasky at suse dot cz 2 siblings, 0 replies; 4+ messages in thread From: shinden at linux dot pl @ 2008-03-31 17:51 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From shinden at linux dot pl 2008-03-31 17:50 ------- Past 1:00 it shows incorrect date still, my mistake. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6005 ------- 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/6005] Date doesn't show 1 day before if it's about to change timezone 2008-03-30 23:13 [Bug libc/6005] New: Date doesn't show 1 day before if it's about to change timezone shinden at linux dot pl 2008-03-31 17:51 ` [Bug libc/6005] " shinden at linux dot pl @ 2008-04-08 0:45 ` drepper at redhat dot com 2010-06-01 3:41 ` pasky at suse dot cz 2 siblings, 0 replies; 4+ messages in thread From: drepper at redhat dot com @ 2008-04-08 0:45 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From drepper at redhat dot com 2008-04-08 00:45 ------- You have to provide a test program using only glibc functions. I won't hunt down problems in external programs like date. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=6005 ------- 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/6005] Date doesn't show 1 day before if it's about to change timezone 2008-03-30 23:13 [Bug libc/6005] New: Date doesn't show 1 day before if it's about to change timezone shinden at linux dot pl 2008-03-31 17:51 ` [Bug libc/6005] " shinden at linux dot pl 2008-04-08 0:45 ` drepper at redhat dot com @ 2010-06-01 3:41 ` pasky at suse dot cz 2 siblings, 0 replies; 4+ messages in thread From: pasky at suse dot cz @ 2010-06-01 3:41 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From pasky at suse dot cz 2010-06-01 03:41 ------- Frankly, I don't even get at all from the original report what the problem was, the information shown looks correct to me. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=6005 ------- 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:[~2010-06-01 3:41 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-03-30 23:13 [Bug libc/6005] New: Date doesn't show 1 day before if it's about to change timezone shinden at linux dot pl 2008-03-31 17:51 ` [Bug libc/6005] " shinden at linux dot pl 2008-04-08 0:45 ` drepper at redhat dot com 2010-06-01 3:41 ` pasky at suse dot cz
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).