bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date for RHEL-3


From: Bob Proulx
Subject: Re: date for RHEL-3
Date: Mon, 30 Oct 2006 23:10:29 -0700
User-agent: Mutt/1.5.9i

William Kreuter wrote:
> Is this still the correct address to send inquiries
> regarding GNU's date shell command?

Yes.  This is the correct address.

> On several RHEL systems, all running some version of
> the 2.4.21 kernel, the shell command:
> 
> date -d 'March 12 2007'
> 
> sends to stdout: 
> 
> Mon Mar 12 00:00:00 PST 2007

This is not related to the version of the kernel but instead to the
the installed system timezone data.

> The correct result should have a "D" in byte 22, not
> "S", to account for current US law for daylight
> savings time.
> 
> Is there anyplace that I can obtain a fixed version of
> "date"?  Thanks.

The GNU date command output is dependent upon the system time zone
data.  You will need to update your systems time zone data tables.

On RHEL it is supplied in the 'tzdata' package.  You will need an
updated version from your vendor.  Or you could compile your own from
the source here:

  ftp://elsie.nci.nih.gov/pub/

Bob

P.S. On Debian this is released in the libc6 package.

  sudo apt-get upgrade




reply via email to

[Prev in Thread] Current Thread [Next in Thread]