[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
date -d
From: |
Johannes Schweifer |
Subject: |
date -d |
Date: |
Thu, 03 May 2007 16:18:28 +0200 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060719) |
date (coreutils) 5.2.1
Geschrieben von David MacKenzie.
Copyright (C) 2004 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quelltexten. Es
gibt keine Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE
ZWECKE.
For example, if I type:
> date
I get:
Do Mai 3 16:11:52 CEST 2007
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? Why doesn't it?
best wishes
Johannes Schweifer
- date -d,
Johannes Schweifer <=