On Mon, 11 Dec 2006, [EMAIL PROTECTED] wrote:

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.

I assume from your email address and "BRT" timezone that you're in the Brazil/East region of the tz database.

cged057:~$ date --date="2006-10-15"
date: invalid date `2006-10-15'
cged057:~$ date --date="20061015"
date: invalid date `20061015'

I can't reproduce this. Here's what I get with the "tzdata-2006p-1.fc5" installed on Fedora Core 5:

$ export TZ=Brazil/East
$ date --date="2006-10-15"
Sun Oct 15 00:00:00 BRT 2006

I don't know of any specific problems with the timezone data, but it may be worth checking you have the latest tzdata package (or your local equivalent). Are you able to narrow down the range of invalid times by including hours and minutes, or is it only for that string (which would indicate a parse error)? Does the problem disappear if you use the --utc flag?


Cheers,
Phil


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to