[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in GNU date (1.16): Doesn't handle DST shifts (GAWK gets it righ
From: |
Jim Meyering |
Subject: |
Re: Bug in GNU date (1.16): Doesn't handle DST shifts (GAWK gets it right!) |
Date: |
Sat, 17 Nov 2001 14:55:14 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) |
address@hidden (Kenny McCormack) wrote:
> % gdate --version
> date (GNU sh-utils) 1.16
> % echo $TZ
> US/Eastern
> % gdate ; gdate -d '2400 hours ago'
> Fri Nov 16 20:48:14 EST 2001
> Wed Aug 8 20:48:14 EDT 2001
>
> Now, it doesn't take a rocket scientist to realize that 2400 hours ago, it
> was 20:48 EST (aka, 21:48 EDT). So, how come it doesn't display it
> correctly? (Either 20:48 EST or 21:48 EDT would be correct, but 20:48 EDT
> is clearly wrong)
Thanks for the report.
> Fixed in a later version?
Yes.
$ date; date -d '2400 hours ago'
Sat Nov 17 14:53:13 CET 2001
Thu Aug 9 15:53:13 CEST 2001
Here's the latest test release:
ftp://alpha.gnu.org/gnu/fetish/sh-utils-2.0.11.tar.gz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Bug in GNU date (1.16): Doesn't handle DST shifts (GAWK gets it right!),
Jim Meyering <=