8

Gnome panel displays the time with 24hrs format but I want to change it to am/pm.

14

Go to System Settings (from the aggregate menu) and select Date & Time. Use the drop down menu on Time Format to select AM/PM:

enter image description here

or fire up dconf-editor, go to org/gnome/desktop/interface/clock-format and turn off Use default value then set Custom value to 12h:

enter image description here

Via terminal, run

gsettings set org.gnome.desktop.interface clock-format 12h

Further customization of the date/time format can be done via gnome-shell extensions, see Daniel's answer here.

  • Thanks. That's so stupid that one has to go command line (and remember the command) to do that. – Yaroslav Nikitenko Jul 20 '17 at 10:55
  • @YaroslavNikitenko - with more recent releases (not sure since when though...) you can do it via System Settings, see my updated post. – don_crissti Jul 20 '17 at 11:18
  • @don_crissti - yes, you are right. I was looking for another setting, how to show date with time. That is not available through System Settings, only through command line. – Yaroslav Nikitenko Jul 22 '17 at 15:16
2

November 2018, I was about to use your still-an-answer commandline method, dconf-editor, because Date and Time are not in Settings System now. I looked around a little more, and found Date and Time in Details. "Details" is burying the Date and Time format deuce in the details, IMHO. I had given up, until you threw me the bait that got me moving and looking for the setting again.

I checked out dconf-editor. It wasn't here. sudo apt-get install dconf-editor then: org, gnome, desktop, interface, clock format: click on "12 hour" or "24 hour", pick from drop down list of two choices, 12 hour and 24 hour.

dconf-editor did add something. It notified that the re-read for menus in system still needed to be made, though I had made a change before that in Settings.Details.DateAndTime.

  • YES!, thank you. I was going to start mentioning about Gnome being in version 3.123123123 and still having stuff like this around. – Luis Alvarado Dec 4 '18 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.