This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales 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]

24 hour clock, without seconds


Hello,

My apologies if I'm sending this to the wrong place.

After perusing strftime and friends, I see no easy way to get a
24-hour clock with hours and minutes in the current locale.  `%H:%M'
isn't right because the separator might not be `:'.  `%X' isn't right
because I don't want seconds.  `%r' isn't right because it does a 12
hour clock.  `%R' isn't right because it's not in the current locale.

Is this a deficiency, or am I just out to lunch.

regards,

Ben


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