I've done some tests and there is a different formatting function which observes the system level "use 24 hour format" setting (haven't tested with rebooting the phone, though).
However:
On a phone that is set to Russian language, it's applied too.
On this phone, I happen to have that setting "off" -- so it comes out as "2:12 pm".
But we don't use am/pm in Russia, so "2 pm" is just "whoa, what is that?"
[ Or actually, we do but only when speaking, not in writing, and there is no shorthand, we say "8 in the morning" or "2 in the day" or "9 in the evening"Β ]
This is very much like in German, and even saying "um 11:13:23 nachmittags" would be awfully wrong (spoken "um 11 Uhr 13 abends" would have been correct). Actually, I think that the mere idea to offer a 12h time format in the Android settings for the German locale is completely bogus. Neither Linux with GNOME nor Windows has such an option.
Do I make a special case for Russian, based on the locale == "ru"?
I tried to understand starting from
Code: [Select]
lxr.mozilla.org/comm-central/search?string=mailnews.reply_header_authorwroteondate(I may not post URLs, maybe it will work this way) how the big guys are treating the time and date format. While I've failed on that, it does seem to me that it is a) locale based and b) the 12h mode exists only for the Calendar and on Android for the date and time picker:
Code: [Select]
lxr.mozilla.org/comm-central/search?string=12hourOk, what if someone from Russia actually wants to use the 12 hour am/pm format, a personal preference?
Do I now need to add yet another setting ("override system level setting")?
My personal favorite would be plain ISO 8601. Or a choice between ISO 8601 as default and any garbage Android returns when asked for date and time π
Is Russia the only country where there is no 12 hour am/pm format?
If not, what are the others, where do I get the full list?
Add at least Germany to the list.
Thanks!