Bug 63349 - date is broken.
Summary: date is broken.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sh-utils
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-12 20:50 UTC by hjl
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-06-10 15:43:21 UTC
Embargoed:


Attachments (Terms of Use)

Description hjl 2002-04-12 20:50:23 UTC
# date -d "1018569600 sec jan. 1, 1970 utc" 
Thu Apr 11 18:00:00 PDT 2002

I am expecting:

Thu Apr 11 17:00:00 PDT 2002

Comment 1 Bernhard Rosenkraenzer 2002-06-10 15:43:13 UTC
I'm getting the correct result on 7.3. 


Comment 2 Mike McLean 2002-07-10 15:08:04 UTC
Confirmed.  this bug seems confined to 7.1.  However it appears to be fixed in
7.2 on.

On the 7.1 machine, I get:
---
[root@i386-71 /root]# date -d "1018569600 sec jan. 1, 1970 utc"
Thu Apr 11 21:00:00 EDT 2002
[root@i386-71 /root]# date -d "Thu Apr 11 21:00:00 EDT 2002" +%s
1018573200
[root@i386-71 /root]# date -d "1018573200 sec jan. 1, 1970 utc"
Thu Apr 11 22:00:00 EDT 2002

And on the 7.2 machine I get:
---
[root@i386-72 root]# date -d "1018569600 sec jan. 1, 1970 utc"
Thu Apr 11 20:00:00 EDT 2002
[root@i386-72 root]# date -d "Thu Apr 11 20:00:00 EDT 2002" +%s
1018569600



Note You need to log in before you can comment on or make changes to this bug.