Bug 401948 - en_DK locale uses dot as clock separator
Summary: en_DK locale uses dot as clock separator
Status: RESOLVED UPSTREAM
Alias: None
Product: i18n
Classification: Translations
Component: da (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Schlander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-10 10:22 UTC by Charlemagne Lasse
Modified: 2018-12-10 14:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlemagne Lasse 2018-12-10 10:22:06 UTC
The "Denmark - English (en_DK)" locale presents clock in a weird/unexpected form. Most locales use ":" as separator but en_DK uses "." for unknown reason. 


STEPS TO REPRODUCE
0. install locales for en_DK.UTF-8
1. Open Formats system settings module
2. select "Denmark - English (en_DK)" for the "Time"
3. check the output under examples
4. compare it with the output of LC_TIME=en_DK.UTF-8 date +"%x %X"

OBSERVED RESULT
Time separator is "." like in "11.19.03" or "11.19"


EXPECTED RESULT
Time separator is ":" as in the libc locale. Like "11:19:03" or "11:19"


SOFTWARE/OS VERSIONS
See what is shipped in Debian stretch (or Debian buster on 2018-12-10)
Comment 1 Christoph Feck 2018-12-10 14:29:43 UTC
Locale handling is done by the Qt frameworks. If this is reproducible with Qt 5.11 or newer, please report this issue to Qt developers via https://bugreports.qt.io/

Please note that en_DK is not an offical (ISO supported) locale, but a hack for the limited POSIX locale system. Qt does not use the POSIX database, but the CLDR database.