Is it possible to detect if user’s machine is using 12 hour clock (am/pm) or 24 hour clock (military time)?
One way would be to check users locales, but then it is just massive list of locale comparison and someone from U.S who wants 12 hour clock can send me just en locale, not US_en and I have no way of knowing her preferences. At the same time someone from U.S might be set her machine to use 12 hour time format and doesn’t want 12 hour clock.
Would work it theory, as user Mouser suggested below, but unfortunately it’s bugged on WebKit browsers (tested on Chrome and new Opera on Windows) and for some reason always returns am/pm time.
So I guess I have to rephrase my question if anyone has an idea how to accomplish it on webkit browsers also.