Bug 363181 - Time formats on en_IE
Summary: Time formats on en_IE
Status: RESOLVED UPSTREAM
Alias: None
Product: i18n
Classification: Translations
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-17 14:17 UTC by gbonner689
Modified: 2016-05-17 22:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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."