Bug 290823 - User is forced to enter 24 hour time in Time Configuration module
Summary: User is forced to enter 24 hour time in Time Configuration module
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_clock (show other bugs)
Version: 4.9.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-06 19:41 UTC by Kai Uwe Broulik
Modified: 2013-08-20 10:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.11.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2012-01-06 19:41:00 UTC
Version:           unspecified (using Devel) 
OS:                Linux

When changing the locale to USA, the panel correctly (after a plasma restart) shows the time in 12-hour-format, i.e. 8:37 PM. The configuration module stays the same way and forces the user to input a 24-hour-format.
Although I am not a friend of the 12-hour-system, it is not the system’s choice to make which time format the user has to be used.
The above seems to be a common problem in ALL Linux distributions and desktop environments - Windows 2.0 made it right…

Reproducible: Always

Steps to Reproduce:
1. Have locale USA
2. Open the Time config module

Actual Results:  
It still prompts time input in 24-hour-format

Expected Results:  
It should prompt the time in 12-hour-format with a dropdown for AM/PM
Comment 1 Jekyll Wu 2012-12-04 20:20:18 UTC
It is hardcoded like this :

     timeEdit->setDisplayFormat("HH:mm:ss");
Comment 2 Christoph Feck 2013-08-16 16:05:40 UTC
https://git.reviewboard.kde.org/r/112122/
Comment 3 Christoph Feck 2013-08-20 10:33:04 UTC
Git commit af5ca00130e9ae53b0d9662dbc250ca4595067ab by Christoph Feck.
Committed on 20/08/2013 at 10:30.
Pushed by cfeck into branch 'KDE/4.11'.

Respect user's 12 hour clock preference
FIXED-IN: 4.11.1
REVIEW: 112122

M  +1    -1    kcontrol/dateandtime/dtime.cpp

http://commits.kde.org/kde-workspace/af5ca00130e9ae53b0d9662dbc250ca4595067ab