SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-05-2005, 11:32 AM
|
#1
|
Member
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234
Rep:
|
am/pm verses 24 hour time
SuSE 9.1 - KDE
How do you set the clock to show the standard am/pm time instead of the 24 hour military time it shows now? I've looked, searched, traveled to the ends of the Earth and have not found the answer. Someone has to know how to do this, I mean come on ---- I've just installed PCBSD on an old beatup computer and it does it automatically!!!!!!!! GEEEEEEZZZZZEEE Guys......
|
|
|
05-05-2005, 12:50 PM
|
#2
|
Member
Registered: Jan 2004
Location: NY, USA
Distribution: Arch, openSUSE 11.1
Posts: 170
Rep:
|
Are you using KDE or gnome? In KDE it should be under Control Center -> Regional. Just set it to your region and it should fix this.
|
|
|
05-05-2005, 12:55 PM
|
#3
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Try this:
Right-click the clock -> Date & Time Format -> Select Register 'Time & Dates' -> Change 'Time Format' to 'pH:MM:SS AMPM'.
Just a comment: Most of Europe uses what you call 'military time', not sure about the rest of the world that doesn't have english as native language.
|
|
|
05-05-2005, 01:39 PM
|
#4
|
Member
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234
Original Poster
Rep:
|
Will give it a try - thanks ..........
|
|
|
05-05-2005, 01:44 PM
|
#5
|
Member
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345
Rep:
|
How changing it for fluxbox?
I've been wanting to change the clock setting in flux myself, but have been unable to figure out how.
|
|
|
05-05-2005, 02:02 PM
|
#6
|
Member
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234
Original Poster
Rep:
|
Quote:
Originally posted by abisko00
Try this:
Right-click the clock -> Date & Time Format -> Select Register 'Time & Dates' -> Change 'Time Format' to 'pH:MM:SS AMPM'.
Just a comment: Most of Europe uses what you call 'military time', not sure about the rest of the world that doesn't have english as native language.
|
I had to wait until 1pm to see if it worked - and it does! Abisko00 you da man!!!!!!!!!! Thanks
|
|
|
05-19-2015, 02:09 AM
|
#7
|
LQ Newbie
Registered: Apr 2009
Posts: 2
Rep:
|
Quote:
Originally Posted by abisko00
Try this:
Right-click the clock -> Date & Time Format -> Select Register 'Time & Dates' -> Change 'Time Format' to 'pH:MM:SS AMPM'.
Just a comment: Most of Europe uses what you call 'military time', not sure about the rest of the world that doesn't have english as native language.
|
How do we achieve this by commands?
|
|
|
05-19-2015, 03:51 AM
|
#8
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667
|
this thread is 10 years old and for a version of suse (9.1) that is long dead
9.1 went End Of Life back on June 30th 2006
the instructions for that os ( suse 9.1) will be VERY different than those for
OpenSUSE 13.2 or tumbleweed
|
|
|
05-20-2015, 11:13 AM
|
#9
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
And even after ten years, you'll get an answer to your question.
The display format of the clock is dependent on the locale settings. In /etc/sysconfig/language you can change to whatever locale you like (and is installed).
If you however refer to the format of the "date" command in bash, changing the locale setting will not switch to the am/pm setting (at least not on my system). Here, I solved the problem by setting an alias in .bashrc like
Code:
alias date="date +%r"
There are many other formatting options available. Have a look at the manpage.
|
|
|
All times are GMT -5. The time now is 03:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|