bug-coreutils
[Top][All Lists]
Advanced

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

Re: (no subject)


From: Andreas Schwab
Subject: Re: (no subject)
Date: Mon, 11 Dec 2006 19:04:01 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

address@hidden writes:

> A very odd bug, when a call the comand:
> date --date="2006-10-15"
> this give me a invalid date.
>
> This happens only in that specific date 2006-10-15, very strange. Look
> below.
>
> cged057:~$ date --date="2004-02-27"
> Fri Feb 27 00:00:00 BRT 2004
> cged057:~$ date --date="2006-10-15"
> date: invalid date `2006-10-15'

Brazil usually switches DST on midnight, so it is possible that this point
of time does not exist if it happens to fall on a DST transition.  Now
Brazil has recently changed its DST rules that makes this point of time
valid again, but you still have this problem with other dates like
2005-10-16 00:00.

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]