is there some easy way to tell if the user's culture/preference is to use 12 hour time expressions or 24 hour time expressions?
is there some easy way to tell if the user's culture/preference is to use 12 hour time expressions or 24 hour time expressions?
Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer
Not an operating system problem, moved to The Cafe.
Last edited by Frogs Hair; September 2nd, 2019 at 01:05 AM.
"Our intention creates our reality. "
Ubuntu Documentation Search: Popular Pages
Ubuntu: Security Basics
Ubuntu: Flavors
Depends on your background. If you spend any amount in the service you will like military time like 1300 hours, or if not 1:00 PM.
I was in the military back 60 years ago, and if now prefer 1:00 PM.
Information on my Main laptop. Information on my small laptop Dell 11 3000
Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
Machine Registered 366271, 366273, 366275.
Registered Ubuntu user number 18630. Registered Linux user number 458093.
The whole world prefers 24 hour time. All time tables are in 24 hours. Only lazy cultures still use 12 hours, inches and pounds instead of the science based SI system
I think the USA is one of the two hold outs world wide, that do not prefer SI.
Last edited by lammert-nijhof; September 2nd, 2019 at 11:55 PM.
Please read The Forum Rules and The Forum Posting Guidelines
A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
This universe is crazy. I'm going back to my own.
Information on my Main laptop. Information on my small laptop Dell 11 3000
Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
Machine Registered 366271, 366273, 366275.
Registered Ubuntu user number 18630. Registered Linux user number 458093.
i'm writing a little program to sleep until a specified time instead of for a specified duration. if the time is 10:00 in the morning and this program is run with "1:30" should it sleep for 3.5 hours or 15.5 hours. it would be clear if "an" or "pm" is included. but, if not, i'd like to guess better. maybe, if the language is "en_us" i can guess 12 and for anything else i can guess 24.
Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer
as a kid my 1st wrist watch was a casio with the digital lcd & that is how i discovered the 24 hour format.
since then i personally prefer the 24 hour clock but in some situations & with some people i have to specify am / pm.
From personal experience the PM and AM thing is english. In Switzerland we use 12h when spoken (so 2 oclock for the afternoon) but use 24h when writing to remove the ambiguity.
Bookmarks