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.