PDA

View Full Version : Why does the UK langinfo.xml not contain AM & PM?


Hitcher
2009-02-13, 10:54
Every time I update update XBMC I have to edit the langinfo.xml from this -

<time symbolAM="" symbolPM="">H:mm:ss</time>

to this -

<time symbolAM="AM" symbolPM="PM">h:mm:ss xx</time>

if I want to display AM and PM in MediaStream.

Why is it not already included?

blittan
2009-02-13, 13:58
does UK use AM/PM? thought it used 24h clock.

Hitcher
2009-02-13, 14:32
The only things in my home that show 24hr time are my PCs, everything else is AM/PM.

Just check out a couple of TV listings for UK -

http://tveasy.co.uk/

http://www.tvguide.co.uk/

blittan
2009-02-13, 18:49
yes, but what is the standard time format for UK? is it 24 or 12 hours.. if it's 12 hours, then langinfo.xml should be altered..

otherwise we might add another UK region with 12 hour format

billyad2000
2009-02-13, 23:19
There is no standard here in the UK, both are used, it just comes down to personal choice.

ashlar
2009-02-14, 11:42
There is no standard here in the UK, both are used, it just comes down to personal choice.Train timetables? That's one way to see what's standard. It's almost impossible that a developed country such as the UK does not have standards for time notation.

Hitcher
2009-02-15, 11:51
In general conversation no one I know uses the 24hr clock to describe the time.

blittan
2009-02-15, 20:36
ok, what about adding another region with 12h format.

eg: UK 24h and UK 12h ?

what do you guys think?

Hitcher
2009-02-15, 21:17
That'd be the simplest solution.

blittan
2009-02-16, 15:52
Added to svn r17760, enjoy :)

ashlar
2009-02-16, 16:13
In general conversation no one I know uses the 24hr clock to describe the time.That's true for other countries as well, which doesn't detract from the fact that official times do not use the AM and PM notation.

In other countries you can say "let's meet at nine" and PM or AM is extrapolated from the context.

Edit: the double choice is obviously perfect for everybody, I'm not complaining! :)

Hitcher
2009-02-16, 16:31
Thanks very much.

blittan
2009-02-16, 20:19
Then maybe that setting should be reworked, so we make 12/24 hour clock a choice and not permanently defined in langinfo.xml (it should be defined there as well, but only as a default that the users can change)