[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /bin/date handling of daylight savings
From: |
Jean-Yves Provost |
Subject: |
Re: /bin/date handling of daylight savings |
Date: |
Wed, 31 Oct 2001 09:22:58 +1100 (EST) |
Bob,
Still broken in sh-utils 2.0.11
I upgraded to 2.0.11 as you suggested
address@hidden jyp]$ rpm -qfi /bin/date
----
Name : sh-utils Relocations: /usr
Version : 2.0.11 Vendor: MandrakeSoft
Release : 5mdk Build Date: Sat 15 Sep 2001
01:16:46
-----
address@hidden jyp]$date --version
date (GNU sh-utils) 2.0.11
Written by David MacKenzie.
Copyright (C) 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Identical problem as in sh-utils 2.0
address@hidden jyp]$ zdump -c 2002 -v Australia/Sydney |grep 2001
Australia/Sydney Sat Mar 24 15:59:59 2001 UTC = Sun Mar 25 02:59:59 2001
EST isdst=1 gmtoff=39600
Australia/Sydney Sat Mar 24 16:00:00 2001 UTC = Sun Mar 25 02:00:00 2001
EST isdst=0 gmtoff=36000
Australia/Sydney Sat Oct 27 15:59:59 2001 UTC = Sun Oct 28 01:59:59 2001
EST isdst=0 gmtoff=36000
Australia/Sydney Sat Oct 27 16:00:00 2001 UTC = Sun Oct 28 03:00:00 2001
EST isdst=1 gmtoff=39600
----
----
address@hidden jyp]$ date -d 'last friday'
Thu Oct 25 23:00:00 EST 2001
address@hidden jyp]$
----
JYP
On Mon, 29 Oct 2001, Bob Proulx wrote:
>
> > This is rather interesting:
> [...]
> > address@hidden jyp]$date --version
> > date (GNU sh-utils) 2.0
>
> If you are using date version 2.0 or earlier that is certainly
> possible. A large number of bug fixes and improvements went into the
> sh-utils-2.0.11 around October 2000. Please install a newer version of
> the code. The test release versions at
> ftp://alpha.gnu.org/gnu/fetish
> are best.
>
> Bob
>