How can I set the clock to display 12-hour format? Example 1:45 PM instead of 13:45.
My Language & Region settings are: Language: English; Numbers and dates: Spanish (Mexico)
To select the 12-hour format:
gsettings set com.canonical.indicator.datetime time-format 12-hour
To return to the 24-hour format:
gsettings set com.canonical.indicator.datetime time-format 24-hour
com.canonical.indicator.datetime
and show-clock
is true
so I don't know what's wrong...
"en_MX.UTF-8"
instead of the suggested en_US
value. The clock shows as 12-hour format now, except that it doesn't display AM or PM, even though I made sure %l:%M %p
is set for custom-time-format. I wonder what else is broken...
If you go to System Settings > Date & Time, at the bottom there is "Time Format:" just change that to AM/PM.