#5970: Applications do not know if 24-hour clock is in use ------------------------------------------+--------------------------------- Reporter: Karvjorm | Owner: pulkomandy Type: bug | Status: assigned Priority: normal | Milestone: R1 Component: System | Version: R1/alpha2 Keywords: 24-hour clock Country Locale | Blockedby: Patch: 0 | Platform: All Blocking: | ------------------------------------------+--------------------------------- Changes (by pulkomandy): * owner: nobody => pulkomandy * status: new => assigned Comment: I don't understand the use of the "encoding" part of the patch, since everything in Haiku is using utf-8. As for dstcheck, one should use the formatter in BCountry, not strftime. See the deskbar code for the proper way to do it. This is because we need something more flexible, look at what happens if you select an arabic language in the preflet, for example. The ":" character isn't even used, and strftime can't handle such things. Also, as ICU is handling most of the backend stuff, you don't need to store the fact that the clock is 24 hours, and you don't even have to decide if the clock is 12 or 24 hours. What if some country decides to use a 30-hour day or something else ? Let ICU handle that, they know better than us :) -- Ticket URL: <http://dev.haiku-os.org/ticket/5970#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.