Bug 363181

Summary: Time formats on en_IE
Product: [Translations] i18n Reporter: gbonner689
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gbonner689 2016-05-17 14:17:55 UTC
Really simple, and I'd submit a patch somewhere if I could figure out what file this is contained in. Time formats on en_IE locale should default to 24-hour like they do on every other OS, but at present they default to 12-hour.

Reproducible: Always

Steps to Reproduce:
1. Set formats to en_IE

Actual Results:  
Time displays as 1:30pm

Expected Results:  
Time displays as 13:30

I believe (but am not certain) that this affects several English locales other than en_IE, such as en_AU, en_NZ etc., which I'm almost certain also usually default to 24-hour but in KDE currently default to 12-hour.

Current workaround is to override time to en_GB
Comment 1 Albert Astals Cid 2016-05-17 21:29:33 UTC
"Time displays as 1:30pm" 

Where?
Comment 2 gbonner689 2016-05-17 21:53:19 UTC
Sorry, everywhere that uses the KDE configuration from Formats, in System Settings. So Plasma, Dolphin etc.

It's not a bug per se, in that the time displays as the locale configuration tells it to (and is consistent with the preview in Formats). It's just that the default locale configuration for Formats is incorrect.
Comment 3 Albert Astals Cid 2016-05-17 22:47:01 UTC
I don't know if it's a bug or not, but in case it is, it comes from Qt so you should open a bug there.

I've created a sample program that the only thing it does is ask QTime to print 13:30 and the output is

tsdgeos@xps:~/test$ LANG=en_GB ./test
"13:30"
tsdgeos@xps:~/test$ LANG=en_IE ./test
"1:30 P.M."