bug-coreutils
[Top][All Lists]
Advanced

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

Re: date -d


From: Jim Meyering
Subject: Re: date -d
Date: Thu, 03 May 2007 20:35:56 +0200

Johannes Schweifer <address@hidden> wrote:
...
> My locale settings are german...
>
> All right, if I want to format this with the -d option:
>>date -d "Do Mai  3 16:10:57 CEST 2007" "+%H:%M:%S %d-%m-%Y"
> It is not recognized as a valid date unless I remove the day "Do" and
> fix the month, basically change "Mai" to "May"...
>
> Silly. I would not call it a bug, but it's annoying at least, I have
> not found a simple answer yet. This program should adapt to the locale
> settings, right?

Sorry, but doing that was never a design goal for GNU date.
As you say, you can always pre-process the data.




reply via email to

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