
On 08/09/2019 18.32, Per Jessen wrote:
Carlos E. R. wrote:
On 08/09/2019 16.02, Per Jessen wrote:
On Sun, 08 Sep 2019 15:23:49 +0200, Erwin wrote:
Apparently, I had earlier attempted to make pan show a 24hour clock - and forgotten all about it. What I don't understand it - my system runs in en_GB.utf8. On the KDE login screen, I see a 24hour clock, on the task manager bar, 24hour, in konsole, 24hour, in LibreOffice, 24hour - but in Thunderbird and pan I get a 12hour clock???
Thunderbird locale does not use the same library as the system. I can dig out the info later, but I need to do somethings now - remind me later if I forget.
FWIW, on three other machines I have Thunderbird showing a 24hour clock -
office68 - TB 52.9, locale all en_GB.utf8. 24hour clock. (Leap42.3) toshiba1 - TB 31.3, locale all en_GB.utf8. 24hour clock. (oS 12.3) office64 - TB 2.0.0, locale all en_GB.utf8. 24hour clock. (older) office37 - TB 60.8, locale all en_GB.utf8. 12hour clock. (Leap 15.1)
Looking at the libraries the TB binary uses, I see no major differences.
Wait, I'll explain. <http://bugzilla.opensuse.org/show_bug.cgi?id=1109379> <https://bugzilla.mozilla.org/show_bug.cgi?id=1482373> <https://bugzilla.mozilla.org/show_bug.cgi?id=1426907> Comment 59 has a workaround, but does not work for me. #16 Mozilla uses now "Unicode CLDR database", not the system locale. https://unicode.org/cldr/ #18 That's a major change introduced post Gecko 52 - we do not use OS intl APIs anymore. There are many important reasons for a multiplatform engine to not do that. ... Yes, that's correct. Thunderbird is using Gecko platform which moved away from using OS APIs for retrieving intl information. That has many major positive consequences, but also may in edge cases like this, lead to unwanted changes as well. #19 However this is not true: on Windows, you can change the date and time format (using Control Panel>Clock, Language, and Region>Change date, time, or numbers formats) e.g. to use ISO 8601, and this setting will be honoured by Thunderbird 60! I am not completely sure, but I guess the code responsible for that is https://dxr.mozilla.org/mozilla-central/source/intl/locale/windows/OSPrefere.... On Linux on the other hand, Thunderbird seems to only read the locale *name* from LC_TIME and then uses the CLDR database to construct the date format, ignoring the format specified in the system locale (https://dxr.mozilla.org/mozilla-central/source/intl/locale/gtk/OSPreferences...). #23 FWIW, the people from GLIBC, current maintainers of the POSIX locales, are working on consolidating the POSIX and CLDR locale information: https://sourceware.org/ml/libc-locales/2016-q2/msg00246.html. There might be still some way to go though ;) and: <https://bugzilla.mozilla.org/show_bug.cgi?id=1389369#c7> is about the 12-24 hour issue. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)