User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19 Build Identifier: With German locale, the "Kurzformat für Datum" list offers the formats "JJJJ-MM-TT", "TT.MM.JJJJ", "YYYY-MM-DD", "tT.mM.JJJJ" and "TT-MM-JJJJ". Wanting an ISO 8601 format, I picked "YYYY-MM-DD". This caused the current date to be displayed as "YYYY-04-DD". As "JJJJ-MM-TT" worked fine, "YYYY-MM-DD" should probably be simply removed from the list. Reproducible: Always
In pt_BR language, we have 9 date formats in kcmlocale.po, but there are 10 in System Settings. pt_BR kcmlocale.po: "DD/MM/AAAA" "DD-MM-AAAA" "DD.MM.AAAA" "dD/mM/AAAA" "dD-mM-AAAA" "dD.mM.AAAA" "AAAA/MM/DD" "AAAA-MM-DD" "AAAA.MM.DD" System Settings options: DD-MM-AAAA AAAA-MM-DD YYYY-MM-DD -> not in kcmlocale.po DD/MM/AAAA DD.MM.AAAA dD/mM/AAAA dD-mM-AAAA dD.mM.AAAA AAAA/MM/DD AAAA-MM-DD AAAA.MM.DD If I choose YYYY-MM-DD today (2013-04-11), I get: YYYY-04-11 The format YYYY-MM-DD should not appear in the list.
I guess YYYY-MM-DD is automatically added as a fallback for locales where the translated list does not offer this ISO format. Would it be possible to go through all languages, and check if they offer this format, so that the fallback can be removed?
Created attachment 79405 [details] Formats Christoph I did not understand exactly what you need to know, but I created the attached file with information about all languages. I think the possible fallback does not work if the string below is translated: #: kcmlocale.cpp:2899 msgid "YYYY"
(In reply to Christoph Feck from comment #2) > I guess YYYY-MM-DD is automatically added as a fallback for locales where > the translated list does not offer this ISO format. Would it be possible to > go through all languages, and check if they offer this format, so that the > fallback can be removed? Christoph does the info in Comment 3 provide what you need to investigate this issue?
Needs a developer familiar with the code and translations to investigate.
This isn't relevant any more in Plasma 5, sadly, because we moved to setting locales in the standard POSIX way with QLocale and there is no longer a setting to modify the date formats like this; now you choose a locale and use its built-in date formats. Sorry. If this annoys you, see Bug 394698.
*** Bug 316180 has been marked as a duplicate of this bug. ***