This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] cy_GB/en_GB: set am/pm in times
- From: Petr Baudis <pasky at ucw dot cz>
- To: Nix <nix at esperi dot org dot uk>, Carlos O'Donell <carlos at systemhalted dot org>
- Cc: Mike Frysinger <vapier at gentoo dot org>, libc-alpha at sourceware dot org,Keld dot Simonsen at dkuug dot dk, pablo at mandrakesoft dot com
- Date: Thu, 12 Apr 2012 21:17:01 +0200
- Subject: Re: [PATCH] cy_GB/en_GB: set am/pm in times
Hi!
On Thu, Apr 12, 2012 at 06:41:39PM +0100, Nix wrote:
> For what little it means (and to confirm your existing anecdotes with a
> little more anecdata), I have never seen a digital time representation
> using anything but a colon between the hour and minute part. If a
> full-stop is used, it is used between seconds and parts of seconds,
> viz: hh:mm:ss.ss.
On Thu, Apr 12, 2012 at 02:13:18PM -0400, Carlos O'Donell wrote:
> > ?t_fmt_ampm "%l:%M:%S %P %Z"
> >
> > ? ? ? ?So shall we use %l:%M:%S or %l.%M:S (i.e. hh:mm:ss or hh.mm:ss)?
> > ? ? ? ?It seems that available online references suggest the latter
> > ? ? ? ?but discussion suggests the former, though rather implicitly.
> > ? ? ? ?I think more online sources would be good regarding this.
>
> The parliamentary minutes use "hh.mm", but this seems a little archaic.
>
> Local UK people say that even train station clocks are all "hh:mm", so
> that settles it for me.
>
> I suggest the traditional "hh:mm" since it's in common use at The Sun
> and other sites (though in 24-hour form) like the BBC UK.
A part of me would have thought that I could distinguish between
12-hour and 24-hour time by hh.mm and hh:mm, but obviously this is not
so in reality. Therefore, t_fmt_ampm can be left as is in the patch.
--
Petr "Pasky" Baudis
Smart data structures and dumb code works a lot better
than the other way around. -- Eric S. Raymond