Times for other locations shows up as AM & PM not "24-hour time"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-control-center (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When you select "24-hour time" in Time & Date --> Clock.
Times for other locations still shows up as AM & PM not "24-hour time" when pressing the time in unity.
Look at the screenshot:
http://
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity-control-
ProcVersionSign
Uname: Linux 4.4.0-57-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 23 08:26:05 2016
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2016-04-23 (243 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
PATH=(custom, no user)
SHELL=/bin/bash
LANG=en_US.UTF-8
XDG_RUNTIME_
LANGUAGE=en_US:en
SourcePackage: unity-control-
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
It's because AM/PM is set in the en_US.UTF-8 locale, which controls the time format at most places on your desktop, including the time notations for those locations. One way to fix it is to open the ~/.profile file for editing and append the line:
export LC_TIME=en_DK.UTF-8
(But that will affect e.g. date format as well.)