bug-coreutils
[Top][All Lists]
Advanced

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

Re: date gives error on valid input


From: Andreas Schwab
Subject: Re: date gives error on valid input
Date: Thu, 25 Dec 2008 10:38:37 +0100
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)

Bob Proulx <address@hidden> writes:

> Carlos Carvalho wrote:
>> % date -d 2008-10-19
>> date: invalid date `2008-10-19'
>> 
>> This happens with 5.97 and 6.10 in Debian.
>
> This works okay for me using Debian.

$ TZ=America/Buenos_Aires date -d 2008-10-19
date: invalid date `2008-10-19'

This date/time does not exist, Brazil switched to DST just at this
point in time.

$ zdump -v America/Sao_Paulo | grep 2008
America/Sao_Paulo  Sun Feb 17 01:59:59 2008 UTC = Sat Feb 16 23:59:59 2008 BRST 
isdst=1
America/Sao_Paulo  Sun Feb 17 02:00:00 2008 UTC = Sat Feb 16 23:00:00 2008 BRT 
isdst=0
America/Sao_Paulo  Sun Oct 19 02:59:59 2008 UTC = Sat Oct 18 23:59:59 2008 BRT 
isdst=0
America/Sao_Paulo  Sun Oct 19 03:00:00 2008 UTC = Sun Oct 19 01:00:00 2008 BRST 
isdst=1

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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