Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 1996 09:12:08 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Re: Call for national time locales
Message-ID:  <199612010812.JAA09839@uriah.heep.sax.de>
In-Reply-To: <Mutt.19961201011733.roberto@keltia.freenix.fr> from Ollivier Robert at "Dec 1, 96 01:17:33 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Ollivier Robert wrote:

> According to J Wunsch:
> > That's probably wrong.  You cannot prevent a stupid programmer from
> > using a conversion string of "%l:%m %p".  This will now result in
> > " 4:05   " for your definition file, when it's actually 16:05.
> 
> I agree but how can I do it properly ?

Stick AM/PM there, even if they are not in common use.  Eventually, we
should decide to drop the 12-hour braindeadness for those locales that
don't use it at all, and simply have the %I being the same as %H then.

Posix doesn't say much for non-Posix (translate this: non-US) locales.
Almost everything seems to be allowed, so i don't see why one could
not drop the 12-hour sillyness.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612010812.JAA09839>