[SOLVED] Date format in Thunderbird/Icedove in KDE
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It would have been better if Thunderbird would have obeyed the KDE regional settings. But it doesn't.
well, I don't know how KDE handles regional settings. In Windows, T-Bird complies to the system-wide settings; under Gnome or MATE, T-Bird still honors the system locale, which has to be set appropriately. So what's your point?
Quote:
Originally Posted by jlinkels
It the solution as pointed to above, there is the problem to create a separate script to set the locale right. This is not necessary.
Of course it's not. If you want the date in ISO-8601 format, select a locale that follows this standard, and T-Bird will comply to that like almost any other application will.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
Rep:
Quote:
Originally Posted by Doc CPU
well, I don't know how KDE handles regional settings. In Windows, T-Bird complies to the system-wide settings; under Gnome or MATE, T-Bird still honors the system locale, which has to be set appropriately. So what's your point?
In Windows, if you set the date format in Control panel to yyyyMMdd, all applications I know display the date like yyyyMMdd. Now I must admit, this is all applications I know, which is not many. I am using Windows only when I am getting paid for doing so. And T'bird is not among the applications I tested. Is there a separate locale setting in Windows except for Regional Settings?
Anyway, if KDE offers to set the regional settings format to yyyyMMdd and some applications obey that and others only thru a locale, it is confusing at best. If the recommended way to set a date format is through a locale, KDE had better omitted this setting at all.
Quote:
Originally Posted by Doc CPU
Of course it's not. If you want the date in ISO-8601 format, select a locale that follows this standard, and T-Bird will comply to that like almost any other application will.
[X] Doc CPU
Yes T'bird obeys, and more things happen. I have been running applications which insisted of showing the months and days in Danish text. Yes, I know, the locale was en_DK. I don't recall which one that was, but it precluded setting a system-wide locale. And yes, I know it was the application's fault, but that didn't exactly solve the problem.
In Windows, if you set the date format in Control panel to yyyyMMdd, all applications I know display the date like yyyyMMdd. Now I must admit, this is all applications I know, which is not many. I am using Windows only when I am getting paid for doing so.
I can assure you, there are very few that don't, and have the date format hard-coded instead.
Quote:
Originally Posted by jlinkels
Is there a separate locale setting in Windows except for Regional Settings?
No, there isn't.
Quote:
Originally Posted by jlinkels
Anyway, if KDE offers to set the regional settings format to yyyyMMdd and some applications obey that and others only thru a locale, it is confusing at best. If the recommended way to set a date format is through a locale, KDE had better omitted this setting at all.
You hit the nail on the head. Actually, configuring these things through locales has been the normal way in Unix/Linux for many years. I have to agree, though, that the Windows approach is more comfortable and easier to handle, and you can set each regional detail separately without being connected with others, and especially KDE has always tried to imitate Windows to some extent. That's how it seems, anyway.
I guess that applications specifically designed for KDE (most of them having names starting with 'K') do take KDE's regional settings into account, and other, non-KDE-aware applications just rely on the default system locale as they always have.
Quote:
Originally Posted by jlinkels
Yes T'bird obeys, and more things happen. I have been running applications which insisted of showing the months and days in Danish text. Yes, I know, the locale was en_DK.
Oops. That's strange, because it's exactly as you stressed: en_DK means English language with Danish regional features.
To get a grip on things: What's the output of the 'locale' command on your system? - It should print a list of about a dozen individual settings, but en_DK should appear nowhere else but in the LC_TIME line.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
Rep:
Quote:
Originally Posted by Doc CPU
Oops. That's strange, because it's exactly as you stressed: en_DK means English language with Danish regional features.
To get a grip on things: What's the output of the 'locale' command on your system? - It should print a list of about a dozen individual settings, but en_DK should appear nowhere else but in the LC_TIME line.
Honestly, I don't recall. It is not on the machine I am working on now. I use various machines here and there, at home, in the office, the main laptop, the new laptop and the spare laptop. It happened on one of those machines, and in a calendar or project management type application.
Since you just answered one of my other questions (about accented characters in LibreOffice) you'll understand why I really don't want to mess around with system wide locales. Life is difficult enough as it is
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.