Re: LC_TIME

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Mon, 27 Sep 2004 13:58:35 +0200 (CEST)

Oliver Lietz <de-bsd-questions(at)oliverlietz.de> wrote:
> lässt sich in "/usr/local/share/locale/de_DE.UTF-8/LC_TIME" (*) das Datum
> gefahrlos auf das korrekte (nach ISO 8601, EN 28 601 und DIN 5008) Format
> JJJJ-MM-TT umstellen? Oder muss ich mit irgendwelchen Problemen rechnen?

Dazu drei Anmerkungen:

1. Ändere es besser gleich im Source.

2. »Gefahrlos« ist relativ. Es sollte funktionieren, mo-
    dulo die üblichen Probleme, mit denen man rechnen muß,
    wenn man nicht das C-locale verwendet.

3. Welches Format das »korrekte« ist, hängt davon ab, wel-
    chen Standard man betrachtet, und für welchen Zweck.
    Für Datumsformate, die international erkennbar sein
    sollen, ist natürlich YYYY-MM-TT am besten (das außer-
    dem den Vorteil hat, daß es trivial ASCII-sortierbar
    ist). Davon abgesehen ist aber in Deutschland in »nor-
    malen« Texten nach wie vor T.M.YYYY am gebräuchlichsten
    (so, wie man es auch spricht), und es ist nicht abzuse-
    hen, daß sich das ändert.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"It combines all the worst aspects of C and Lisp:  a billion different
sublanguages in one monolithic executable.  It combines the power of C
with the readability of PostScript."
        -- Jamie Zawinski, when asked: "What's wrong with perl?"
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 27 Sep 2004 - 13:59:13 CEST

search this site