Bug 63431 - daylight savings time problem in /bin/date -d
Summary: daylight savings time problem in /bin/date -d
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sh-utils
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-13 18:28 UTC by zach
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-04 20:25:07 UTC
Embargoed:


Attachments (Terms of Use)

Description zach 2002-04-13 18:28:17 UTC
It is the week of the following daylight savings time.  Saturday April 6 had 25
hours.

/bin/date -d "last saturday"
Fri Apr  5 23:00:00 PST 2002

The reported date is off by one hour.

Version-Release number of selected component (if applicable):
sh-utils-2.0.11-5

How reproducible:
Always

Steps to Reproduce:
1.Computer's clock should be set to Apr 8-13 for the case above
2.
3.
	

Additional info:

Comment 1 Bernhard Rosenkraenzer 2002-08-29 19:12:23 UTC
This behavior is consistant with what other OSes (tried FreeBSD, OpenBSD and
NetBSD) do, so it's probably adhering to standards.


Comment 2 Bill Nottingham 2006-08-04 20:25:07 UTC
Red Hat Linux and Red Hat Powertools are currently no longer supported by Red
Hat, Inc. In an effort to clean up bugzilla, we are closing all bugs in MODIFIED
state for these products.

However, we do want to make sure that nothing important slips through the
cracks. If, in fact, these issues are not resolved in a current Fedora Core
Release (such as Fedora Core 5), please open a new issues stating so. Thanks.


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