• Re: Digital clock widget and 24-hour format

    From local10@21:1/5 to All on Mon Mar 21 02:50:01 2022
    Mar 20, 2022, 18:59 by inkbottle007@gmail.com:


    I've fixed that issue on my box about 6 month ago, I can't remember how I did that exactly. The core of it however was that the `locales` were defined in several places, like 2 or 3, and that one of them was inconsistent with the others. And I've just
    deleted it.



    Now my setting is, I have no local whatsoever, viz, I use `> LC_ALL="C.UTF-8"` and that's it. Only "spell check" is "US-EN".



    I will have to look into that, I was fiddling with "LC_ALL" recently to to a different issue and now it is set to LC_ALL=en_US.UTF-8, LC_ALL was unset prior to that. Will report back when I try it.

    Regards,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From chris@21:1/5 to All on Wed Mar 23 17:40:01 2022
    On Monday, 21 March 2022 02:46:11 CET local10 wrote:
    Mar 20, 2022, 18:59 by inkbottle007@gmail.com:
    I've fixed that issue on my box about 6 month ago, I can't remember how I did that exactly. The core of it however was that the `locales` were defined in several places, like 2 or 3, and that one of them was inconsistent with the others. And I've just deleted it.



    Now my setting is, I have no local whatsoever, viz, I use `> LC_ALL="C.UTF-8"` and that's it. Only "spell check" is "US-EN".
    I will have to look into that, I was fiddling with "LC_ALL" recently to to a different issue and now it is set to LC_ALL=en_US.UTF-8, LC_ALL was unset

    For what I've observed, when using LC_ALL=en_US.UTF-8, it's very difficult to escape am/pm time format, "somewhere".

    To have English language with "metric system" there is also en_dk, IIRC, which is friendly in that regard.

    But, I really think LC_ALL="C.UTF-8", is already doing that.

    prior to that. Will report back when I try it.

    Regards,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From local10@21:1/5 to All on Wed Mar 30 01:00:02 2022
    On Mar 23 2022 at 17:36 by inkbottle007@gmail.com>:

    But, I really think LC_ALL="C.UTF-8", is already doing that.


    How did you set LC_ALL to "C.UTF-8"? I tried adding LC_ALL="C.UTF-8" to ~/.bash_profile but that seems to have no effect.

    Thanks,


    $ cat ~/.bash_proflle
    LANG=en_US.UTF-8
    LANGUAGE=en_US.UTF-8
    LC_ALL="C.UTF-8"

    $ locale
    LANG=osa_US.UTF-8
    LANGUAGE=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    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="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=en_US.UTF-8

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shai Berger@21:1/5 to local10@tutanota.com on Wed Mar 30 21:30:01 2022
    On Wed, 30 Mar 2022 00:54:21 +0200 (CEST)
    local10 <local10@tutanota.com> wrote:


    How did you set LC_ALL to "C.UTF-8"? I tried adding LC_ALL="C.UTF-8"
    to ~/.bash_profile but that seems to have no effect.


    You need to export it. When you define an environment variable and do
    not export it, it is not passed to sub-processes (like the one
    executing the 'locale' command).

    $ LC_ALL=C.UTF-8
    $ locale
    LANG=en_IL.UTF-8
    LANGUAGE=en_US
    LC_CTYPE="en_IL.UTF-8"
    LC_NUMERIC="en_IL.UTF-8"
    LC_TIME="en_IL.UTF-8"
    LC_COLLATE="en_IL.UTF-8"
    LC_MONETARY="en_IL.UTF-8"
    LC_MESSAGES="en_IL.UTF-8"
    LC_PAPER="en_IL.UTF-8"
    LC_NAME="en_IL.UTF-8"
    LC_ADDRESS="en_IL.UTF-8"
    LC_TELEPHONE="en_IL.UTF-8"
    LC_MEASUREMENT="en_IL.UTF-8"
    LC_IDENTIFICATION="en_IL.UTF-8"
    LC_ALL=

    $ export LC_ALL=C.UTF-8
    $ locale
    LANG=en_IL.UTF-8
    LANGUAGE=en_US
    LC_CTYPE="C.UTF-8"
    LC_NUMERIC="C.UTF-8"
    LC_TIME="C.UTF-8"
    LC_COLLATE="C.UTF-8"
    LC_MONETARY="C.UTF-8"
    LC_MESSAGES="C.UTF-8"
    LC_PAPER="C.UTF-8"
    LC_NAME="C.UTF-8"
    LC_ADDRESS="C.UTF-8"
    LC_TELEPHONE="C.UTF-8"
    LC_MEASUREMENT="C.UTF-8"
    LC_IDENTIFICATION="C.UTF-8"
    LC_ALL=C.UTF-8

    HTH,
    Shai.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From local10@21:1/5 to All on Wed Mar 30 23:20:01 2022
    Mar 30, 2022, 19:26 by shai@platonix.com:

    You need to export it. When you define an environment variable and do
    not export it, it is not passed to sub-processes (like the one
    executing the 'locale' command).


    I see, thanks for your help.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)