bug-sysutils
[Top][All Lists]
Advanced

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

Re: [Bug-sysutils] %H:%M


From: Ben Asselstine
Subject: Re: [Bug-sysutils] %H:%M
Date: Sun, 25 Mar 2007 19:14:23 -0400

Alright, seeing how getting anything suitable out of libc isn't going
to happen we need to improvise.  Attached is a sample program that
shows the 24 hour clock in the current locale.  Don't look too
closely, it will hurt your eyes.

regards,

Ben

On 3/25/07, David Weinehall <address@hidden> wrote:
On Sun, Mar 25, 2007 at 04:29:13PM -0400, Ben Asselstine wrote:
> Isn't %r in the current locale?
>
> >From the glibc manual:
>    `%r'
>          The complete calendar time using the AM/PM format of the
>          current locale.

Yes, %r is, %R isn't.  Which means that for all locales that use a sane
(24h) time annotation, the separator runs the risk of being incorrect.
I don't know how many countries use something else than ":", but I know
that a some use ".".


Regards: David
--
 /) David Weinehall <address@hidden> /) Northern lights wander      (\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\)  http://www.acc.umu.se/~tao/    (/   Full colour fire           (/

Attachment: c.c
Description: Text Data


reply via email to

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