This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] cy_GB/en_GB: set am/pm in times


2012/4/12 Petr Baudis <pasky@ucw.cz>:
> ?I think it is significantly preferable to base locale changes on
> referenced material - ideally an official spec, though often these
> are inaccessible due to high access costs, but at least multiple
> government or other widely used websites (e.g. newspapers, popular
> online portals).

Agreed.

>> "AM";"PM"
>> "%l:%M:%S %P %Z"
>> "%a %b %e/
>> + %H:%M:%S /
>> +%Z %Y"
>>
>> The problem I see here is that both the UK Parliament and the UK
>> Government website use `%A %e %B' (Wednesday 14 Apil) and never `%a %b
>> %e' (Wed Apr 14). Even `The Sun' uses `%a %e %b', which is just a
>> shortening of `%A %e %B'. In addition I see uses of `am' and 'pm'
>> lowercase, and `%H.%M' not `%H:%M', on government documents (I'm
>> willing to ignore these as government quirks).
>>
>> How was this format decided?
>
> ?Thanks a lot for the research, Carlos! Do you still have the exact
> URLs handy where you have seen the various usages?

I used the Minutes of the Foreign Affairs Committee for the House of
Commons in the UK Parliament:

http://www.parliament.uk/business/committees/committees-a-z/commons-select/foreign-affairs-committee/formal-minutes/

I used the "Money, Taxes, and Benefits" section the UK Government website:

http://www.direct.gov.uk/en/MoneyTaxAndBenefits/index.htm

I used The Sun, a daily national tabloid paper in the UK:

http://www.thesun.co.uk/sol/homepage/

> ?Let me sum up some of the references and discussion.
>
> ?am_pm "am;pm"
>
> ? ? ? ?In sync with all the online sources and confirmed by discussion
> ? ? ? ?with en_GB natives.

Agreed.

> ?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.

e.g. BCC UK news:

"12 April 2012 Last updated at 15:10" has "hh:mm"

http://www.bbc.co.uk/news/technology-17681707

> ?date_fmt "%a %b %e %H:%M:%S %Z %Y"
>
> ? ? ? ?Both discussion and online sources seem to agree that %a %b %e
> ? ? ? ?is pretty much the only format _not_ used and that it does not
> ? ? ? ?matter too much. Online sources suggest "%a %e %b" and there is
> ? ? ? ?no agreement on short/long form. I would go with "%a %e %b"
> ? ? ? ?purely on the grounds that it is closest to the original patch,
> ? ? ? ?but if anyone has other suggestions...

Agreed on "%a %e %b".

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]