[opensuse] Thunderbird v60 date format
Hi, I just noticed that Thunderbird now writes the hour in the dates (index view) as "HH. MM", instead of "HH:MM" My locale is: cer@Legolas:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=es_ES@euro LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE=es_ES@euro LC_MEASUREMENT=es_ES@euro LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= cer@Legolas:~> And I'm on 15.0 -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 11.09.18 um 15:37 schrieb Carlos E. R.:
Hi,
I just noticed that Thunderbird now writes the hour in the dates (index view) as "HH. MM", instead of "HH:MM"
My locale is:
cer@Legolas:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8
I think this one is the culprit. What is "DK"? I'm also seeing es_ES in there. Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 11 Sep 2018 20:07:59 +0200 Aaron Digulla <digulla@hepe.com> wrote:
Am 11.09.18 um 15:37 schrieb Carlos E. R.:
Hi,
I just noticed that Thunderbird now writes the hour in the dates (index view) as "HH. MM", instead of "HH:MM"
My locale is:
cer@Legolas:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8
I think this one is the culprit. What is "DK"?
Officially, it's Denmark. Unofficially, it's usually a kludge to get ISO formatted dates.
I'm also seeing es_ES in there.
Regards,
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/09/2018 14.58, Dave Howorth wrote:
On Tue, 11 Sep 2018 20:07:59 +0200 Aaron Digulla <> wrote:
Am 11.09.18 um 15:37 schrieb Carlos E. R.:
Hi,
I just noticed that Thunderbird now writes the hour in the dates (index view) as "HH. MM", instead of "HH:MM"
My locale is:
cer@Legolas:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8
I think this one is the culprit. What is "DK"?
Officially, it's Denmark. Unofficially, it's usually a kludge to get ISO formatted dates.
I also noticed now that the date is displayed as day/month/year, which is far from the ISO setting I want. This Thunderbird is ignoring the date setting of the system. :-( [...] Found it! New setting, Advanced, general: use application language or regional locale (English (Denmark)). May need a restart... [...] Well, after a Th. restart, the date is still wrong format :-( -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-09-11 4:39 p.m., Carlos E. R. wrote:
Well, after a Th. restart, the date is still wrong format :-(
The same for me :-( -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/09/2018 08.35, Anton Aylward wrote:
On 2018-09-11 4:39 p.m., Carlos E. R. wrote:
Well, after a Th. restart, the date is still wrong format :-(
The same for me :-(
Bug 1109379 - Thunderbird 60.0 displays wrong date format <https://bugzilla.opensuse.org/show_bug.cgi?id=1109379> -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
On 23/9/18 2:45 am, Carlos E. R. wrote:
On 12/09/2018 08.35, Anton Aylward wrote:
On 2018-09-11 4:39 p.m., Carlos E. R. wrote:
Well, after a Th. restart, the date is still wrong format :-( The same for me :-(
Bug 1109379 - Thunderbird 60.0 displays wrong date format <https://bugzilla.opensuse.org/show_bug.cgi?id=1109379>
I like the way you create that bug report stating that because the date FOR YOU is shown as 23-09-2018 and not as 2018-09-23, because YOU prefer to it in the latter form, it is accepted as a bug and will be 'fixed' upstream in v60.2.0 ESR. However, I prefer the date(s) to be displayed in day/month/year format because this is how it is done/accepted in *my* country and it is how *I* prefer to have the date displayed :-). I hope that the 'fix' will not force everyone's date format to be year/month/day :'(. BTW, I have already provided an answer on how to alter that date format -- at least I can do it quite easily -- but did not get any feedback re what I put forward. BC -- "One of the wettest we've ever seen from the standpoint of water". Donald Trump's observation on Hurricane Florence, 19 September 2018. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 22/09/2018 20.43, Basil Chupin wrote:
On 23/9/18 2:45 am, Carlos E. R. wrote:
On 12/09/2018 08.35, Anton Aylward wrote:
On 2018-09-11 4:39 p.m., Carlos E. R. wrote:
Well, after a Th. restart, the date is still wrong format :-( The same for me :-(
Bug 1109379 - Thunderbird 60.0 displays wrong date format <https://bugzilla.opensuse.org/show_bug.cgi?id=1109379>
I like the way you create that bug report stating that because the date FOR YOU is shown as 23-09-2018 and not as 2018-09-23, because YOU prefer to it in the latter form, it is accepted as a bug and will be 'fixed' upstream in v60.2.0 ESR.
However, I prefer the date(s) to be displayed in day/month/year format because this is how it is done/accepted in *my* country and it is how *I* prefer to have the date displayed :-). I hope that the 'fix' will not force everyone's date format to be year/month/day :'(.
What I requested is that Thunderbird prints the date in the format that the user requested, in the locale configuration, if the user tells Thunderbird to respect the user locale. Otherwise, it follows the "Thunderbird application locale", which is "USA". That is, you need: LC_TIME=en_AU.utf8
BTW, I have already provided an answer on how to alter that date format -- at least I can do it quite easily -- but did not get any feedback re what I put forward.
Did you try the above? But it will not work now, till the fix. I do not know if it is following "LANG" either. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
On 2018-09-22 10:01 p.m., Carlos E. R. wrote:
That is, you need:
LC_TIME=en_AU.utf8
To be very frank about things, since the 'date' command does not respect this setting, it is not the easiest thing to test. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/09/2018 07.18, Anton Aylward wrote:
On 2018-09-22 10:01 p.m., Carlos E. R. wrote:
That is, you need:
LC_TIME=en_AU.utf8
To be very frank about things, since the 'date' command does not respect this setting, it is not the easiest thing to test.
You are absolutely right. At this moment I don't know of a command to test it easily. ls -l doesn't respect it, either. Is there a library function that writes the date in the LC_TIME described format without complications? Then we could write a simple program. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
On Sun, 23 Sep 2018 09:48:27 -0400 "Carlos E. R." <robin.listas@gmx.es> wrote:
On 23/09/2018 07.18, Anton Aylward wrote:
On 2018-09-22 10:01 p.m., Carlos E. R. wrote:
That is, you need:
LC_TIME=en_AU.utf8
To be very frank about things, since the 'date' command does not respect this setting, it is not the easiest thing to test.
You are absolutely right. At this moment I don't know of a command to test it easily.
ls -l doesn't respect it, either.
Is there a library function that writes the date in the LC_TIME described format without complications? Then we could write a simple program.
strftime() -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/09/2018 14.07, Aaron Digulla wrote:
Am 11.09.18 um 15:37 schrieb Carlos E. R.:
Hi,
I just noticed that Thunderbird now writes the hour in the dates (index view) as "HH. MM", instead of "HH:MM"
My locale is:
cer@Legolas:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8
I think this one is the culprit. What is "DK"?
Denmark. That setting makes date use of ISO Year-month-day ordering.
I'm also seeing es_ES in there.
Yes. But I have not changed those settings in years. I don't know what has changed, the en_DK definition or Thunderbird handling. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/09/2018 15.37, Carlos E. R. wrote:
Hi,
I just noticed that Thunderbird now writes the hour in the dates (index view) as "HH. MM", instead of "HH:MM"
My locale is:
cer@Legolas:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=es_ES@euro LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE=es_ES@euro LC_MEASUREMENT=es_ES@euro LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= cer@Legolas:~>
And I'm on 15.0
Well, I got now 60.2.1 recently updated minutes ago, and it's got the same problem - see the quote line at the top of this email, for instance. On Leap 42.3, I'll try 15.0 later. On the other hand, another issue has been solved: when I started TH it asked for my master password about a dozen times, for years. Now it asks only once :-) -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 06/10/2018 22.49, Carlos E. R. wrote:
Well, I got now 60.2.1 recently updated minutes ago, and it's got the same problem - see the quote line at the top of this email, for instance. On Leap 42.3, I'll try 15.0 later.
Same issue in 15.0 -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
On 10/06/2018 05:46 PM, Carlos E. R. wrote:
On 06/10/2018 22.49, Carlos E. R. wrote:
Well, I got now 60.2.1 recently updated minutes ago, and it's got the same problem - see the quote line at the top of this email, for instance. On Leap 42.3, I'll try 15.0 later. Same issue in 15.0
rpm -e MozillaThunderbird, pick back through the releases in Updates... rpm -Uvh MozillaThunderbird-52.9.1-71.1.x86_64.rpm problem solved... (digital update hermit for just these reasons -- how much time have you devoted to the "curiosity" of "why doesn't this new version let me do xyz..."? I know I can unintentionally have hours slip by picking through code and settings, collecting data for bug reports, etc... on just these type of things. Some times its enjoyable and I have the time, on other occasions, I just want things to work they way they did 10 days ago without having to dork with it :) -- David C. Rankin, J.D.,P.E.
On 08/10/2018 09.10, David C. Rankin wrote:
On 10/06/2018 05:46 PM, Carlos E. R. wrote:
On 06/10/2018 22.49, Carlos E. R. wrote:
Well, I got now 60.2.1 recently updated minutes ago, and it's got the same problem - see the quote line at the top of this email, for instance. On Leap 42.3, I'll try 15.0 later. Same issue in 15.0
rpm -e MozillaThunderbird,
pick back through the releases in Updates...
rpm -Uvh MozillaThunderbird-52.9.1-71.1.x86_64.rpm
problem solved...
No, it has a bunch of other problems. Like asking for the password a dozen times. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 8/10/18 11:34 pm, Carlos E. R. wrote:
On 08/10/2018 09.10, David C. Rankin wrote:
On 10/06/2018 05:46 PM, Carlos E. R. wrote:
On 06/10/2018 22.49, Carlos E. R. wrote:
Well, I got now 60.2.1 recently updated minutes ago, and it's got the same problem - see the quote line at the top of this email, for instance. On Leap 42.3, I'll try 15.0 later. Same issue in 15.0 rpm -e MozillaThunderbird,
pick back through the releases in Updates...
rpm -Uvh MozillaThunderbird-52.9.1-71.1.x86_64.rpm
problem solved... No, it has a bunch of other problems. Like asking for the password a dozen times.
Well, if you look at the top your date problem doesn't appear to be a problem anymore -- and your post to which I am now responding was created using TB v 60.2.1. However, if TB is asking multiple times for your password, and you have "a bunch of other problems", then it has nothing to do with TB but you've very badly messed up something in your system. BC -- "One of the wettest we've ever seen from the standpoint of water". Donald Trump's observation on Hurricane Florence, 19 September 2018. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/10/2018 06.28, Basil Chupin wrote:
On 8/10/18 11:34 pm, Carlos E. R. wrote:
On 08/10/2018 09.10, David C. Rankin wrote:
On 10/06/2018 05:46 PM, Carlos E. R. wrote:
On 06/10/2018 22.49, Carlos E. R. wrote:
Well, I got now 60.2.1 recently updated minutes ago, and it's got the same problem - see the quote line at the top of this email, for instance. On Leap 42.3, I'll try 15.0 later. Same issue in 15.0 rpm -e MozillaThunderbird,
pick back through the releases in Updates...
rpm -Uvh MozillaThunderbird-52.9.1-71.1.x86_64.rpm
problem solved... No, it has a bunch of other problems. Like asking for the password a dozen times.
Well, if you look at the top your date problem doesn't appear to be a problem anymore -- and your post to which I am now responding was created using TB v 60.2.1.
The format should be YYYY-MM-DD HH:SS.
However, if TB is asking multiple times for your password, and you have "a bunch of other problems", then it has nothing to do with TB but you've very badly messed up something in your system.
Nothing messed. Asking multiple times for the master password has been a recognized bug in Thunderbird for ages. Happened in all my installations except Windows. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 06/10/2018 22.49, Carlos E. R. wrote:
On 11/09/2018 15.37, Carlos E. R. wrote:
Hi,
I just noticed that Thunderbird now writes the hour in the dates (index view) as "HH. MM", instead of "HH:MM"
My locale is:
cer@Legolas:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=es_ES@euro LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE=es_ES@euro LC_MEASUREMENT=es_ES@euro LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= cer@Legolas:~>
And I'm on 15.0
Well, I got now 60.2.1 recently updated minutes ago, and it's got the same problem - see the quote line at the top of this email, for instance. On Leap 42.3, I'll try 15.0 later.
Well, now I have MozillaThunderbird-60.3.0-80.1.x86_64, with same problem. This command shows the correct date format, so that different formats can be tested easily: cer@Telcontar:~> LC_TIME=en_US date +'%x %X' 11/10/2018 02:20:21 PM cer@Telcontar:~> LC_TIME=en_DK.utf8 date +'%x %X' 2018-11-10 14:20:35 There is an upstream bugzilla (more than one). This seems to be the main one, a year old: <https://bugzilla.mozilla.org/show_bug.cgi?id=1426907> It seems that Thunderbird reads the locale, but then uses something called "CLDR" to format the date, and this (I understand) contains wrong data (comment 16, 18). Then comes a suggestion to use en-SE, but has to be symlinked as it is not in the distros. Or better root.UTF-8, as described on comment 59: +++............. Thanks Einhard, that works perfectly. To clarify, the full workaround is: sudo ln -s /usr/share/i18n/locales/en_DK /usr/share/i18n/locales/root echo 'root.UTF-8 UTF-8' | sudo tee -a /etc/locale.gen sudo locale-gen And then set LC_TIME=root.UTF-8 .............++- But this does not work on openSUSE: Telcontar:~ # ln -s /usr/share/i18n/locales/en_DK /usr/share/i18n/locales/root Telcontar:~ # echo 'root.UTF-8 UTF-8' | tee -a /etc/locale.gen root.UTF-8 UTF-8 Telcontar:~ # locale-gen If 'locale-gen' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf locale-gen Telcontar:~ # cnf locale-gen locale-gen: command not found Telcontar:~ # locale[tab][tab] locale localectl localedef Telcontar:~ # Subsequently: cer@Telcontar:~> LC_TIME=root.UTF-8 thunderbird & [1] 6620 cer@Telcontar:~> (thunderbird:6620): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. What do we use in openSUSE instead of "locale-gen"? -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 10.11.2018 14:31, Carlos E. R. wrote:
What do we use in openSUSE instead of "locale-gen"?
According to https://manpages.debian.org/stretch/locales/locale-gen.8.en.html `locale-gen` just calls `localedef` for each line in a /etc/locale.gen config file. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/11/2018 15.16, Christoph Feck wrote:
On 10.11.2018 14:31, Carlos E. R. wrote:
What do we use in openSUSE instead of "locale-gen"?
According to https://manpages.debian.org/stretch/locales/locale-gen.8.en.html `locale-gen` just calls `localedef` for each line in a /etc/locale.gen config file.
The link does not explain what command line it builds. I can not make it work: Telcontar:~ # tail /etc/locale.gen root.UTF-8 UTF-8 Telcontar:~ # localedef root.UTF-8 UTF-8 Try `localedef --help' or `localedef --usage' for more information. Telcontar:~ # Telcontar:~ # localedef /etc/locale.gen Hangs.
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 16135 0.0 0.0 17464 2980 pts/44 S Nov08 0:00 | | | \_ -bash root 22058 0.0 0.0 4776 1952 pts/44 S+ 15:21 0:00 | | | \_ localedef /etc/locale.gen root 22059 0.0 0.0 0 0 pts/44 Z+ 15:21 0:00 | | | \_ [gzip] <defunct>
-- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On Sun, 11 Nov 2018 15:26:58 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 10/11/2018 15.16, Christoph Feck wrote:
On 10.11.2018 14:31, Carlos E. R. wrote:
What do we use in openSUSE instead of "locale-gen"?
According to https://manpages.debian.org/stretch/locales/locale-gen.8.en.html `locale-gen` just calls `localedef` for each line in a /etc/locale.gen config file.
The link does not explain what command line it builds. I can not make it work:
Telcontar:~ # tail /etc/locale.gen root.UTF-8 UTF-8 Telcontar:~ # localedef root.UTF-8 UTF-8 Try `localedef --help' or `localedef --usage' for more information. Telcontar:~ #
Telcontar:~ # localedef /etc/locale.gen
Hangs.
Well, that's not really surprising, is it? GIGO On the other hand `localedef --help' or `localedef --usage' might help, as might 'man localedef' to tell you what arguments localedef takes.
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 16135 0.0 0.0 17464 2980 pts/44 S Nov08 0:00 | | | \_ -bash root 22058 0.0 0.0 4776 1952 pts/44 S+ 15:21 0:00 | | | \_ localedef /etc/locale.gen root 22059 0.0 0.0 0 0 pts/44 Z+ 15:21 0:00 | | | \_ [gzip] <defunct>
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/11/2018 17.13, Dave Howorth wrote:
On Sun, 11 Nov 2018 15:26:58 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 10/11/2018 15.16, Christoph Feck wrote:
On 10.11.2018 14:31, Carlos E. R. wrote:
What do we use in openSUSE instead of "locale-gen"?
According to https://manpages.debian.org/stretch/locales/locale-gen.8.en.html `locale-gen` just calls `localedef` for each line in a /etc/locale.gen config file.
The link does not explain what command line it builds. I can not make it work:
Telcontar:~ # tail /etc/locale.gen root.UTF-8 UTF-8 Telcontar:~ # localedef root.UTF-8 UTF-8 Try `localedef --help' or `localedef --usage' for more information. Telcontar:~ #
Telcontar:~ # localedef /etc/locale.gen
Hangs.
Well, that's not really surprising, is it? GIGO
On the other hand `localedef --help' or `localedef --usage' might help, as might 'man localedef' to tell you what arguments localedef takes.
I tried before the above, and you can see the results. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
On Sun, 11 Nov 2018 23:47:56 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 11/11/2018 17.13, Dave Howorth wrote:
On Sun, 11 Nov 2018 15:26:58 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 10/11/2018 15.16, Christoph Feck wrote:
On 10.11.2018 14:31, Carlos E. R. wrote:
What do we use in openSUSE instead of "locale-gen"?
According to https://manpages.debian.org/stretch/locales/locale-gen.8.en.html `locale-gen` just calls `localedef` for each line in a /etc/locale.gen config file.
The link does not explain what command line it builds. I can not make it work:
Telcontar:~ # tail /etc/locale.gen root.UTF-8 UTF-8 Telcontar:~ # localedef root.UTF-8 UTF-8 Try `localedef --help' or `localedef --usage' for more information. Telcontar:~ #
Telcontar:~ # localedef /etc/locale.gen
Hangs.
Well, that's not really surprising, is it? GIGO
On the other hand `localedef --help' or `localedef --usage' might help, as might 'man localedef' to tell you what arguments localedef takes.
I tried before the above, and you can see the results.
Sorry but I don't see any output from you running localedef with -f and -i arguments, so I'm not sure what you're saying. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/11/2018 01.28, Dave Howorth wrote:
On Sun, 11 Nov 2018 23:47:56 +0100 "Carlos E. R." <> wrote:
On 11/11/2018 17.13, Dave Howorth wrote:
On Sun, 11 Nov 2018 15:26:58 +0100 "Carlos E. R." <> wrote:
On 10/11/2018 15.16, Christoph Feck wrote:
On 10.11.2018 14:31, Carlos E. R. wrote:
What do we use in openSUSE instead of "locale-gen"?
According to https://manpages.debian.org/stretch/locales/locale-gen.8.en.html `locale-gen` just calls `localedef` for each line in a /etc/locale.gen config file.
The link does not explain what command line it builds. I can not make it work:
Telcontar:~ # tail /etc/locale.gen root.UTF-8 UTF-8 Telcontar:~ # localedef root.UTF-8 UTF-8 Try `localedef --help' or `localedef --usage' for more information. Telcontar:~ #
Telcontar:~ # localedef /etc/locale.gen
Hangs.
Well, that's not really surprising, is it? GIGO
On the other hand `localedef --help' or `localedef --usage' might help, as might 'man localedef' to tell you what arguments localedef takes.
I tried before the above, and you can see the results.
Sorry but I don't see any output from you running localedef with -f and -i arguments, so I'm not sure what you're saying.
That's because I did not know I had to use -f and -i. Supposedly locale-gen «just calls `localedef` for each line in a /etc/locale.gen config file», and as that file just contains a single line (root.UTF-8 UTF-8), thus doing: localedef root.UTF-8 UTF-8 should be more than enough. That not working, I have absolutely no idea what arguments to feed it, except combinations at random :-( -f charmapfile, --charmap=charmapfile Specify the file that defines the character set that is used by the input file. If charmapfile contains a slash character ('/'), it is interpreted as the name of the character map. Otherwise, the file is sought in the current directory and the default directory for character maps. If the environment variable I18NPATH is set, $I18NPATH/charmaps/ and $I18NPATH/ are also searched after the current directory. The default directory for character maps is printed by localedef --help. -i inputfile, --inputfile=inputfile Specify the locale definition file to compile. The file is sought in the current directory and the default directory for locale definition files. If the environment variable I18NPATH is set, $I18NPATH/locales/ and $I18NPATH are also searched after the current directory. The default directory for locale definition files is printed by localedef --help. Maybe you know what to do and this stuff is simple and I'm being stupid. To my it is gobbledygook. Incantation passes. So please, if you know the trick to make Thunderbird accept "LC_TIME=root.UTF-8 thunderbird" (or en-SE) I would appreciate it. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 10/11/18 08:31 AM, Carlos E. R. wrote:
This command shows the correct date format, so that different formats can be tested easily:
cer@Telcontar:~> LC_TIME=en_US date +'%x %X' 11/10/2018 02:20:21 PM
cer@Telcontar:~> LC_TIME=en_DK.utf8 date +'%x %X' 2018-11-10 14:20:35
Yes, I get that at the command lie too. You can see the above format I'm still on 52.9.1 main:/etc # more locale.conf LC_TIME=en_CA.utf8 -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Aaron Digulla
-
Anton Aylward
-
Basil Chupin
-
Carlos E. R.
-
Carlos E. R.
-
Christoph Feck
-
Dave Howorth
-
David C. Rankin