Date format in GNOME 40 panel clock

Tom H tomh0665 at gmail.com
Tue May 18 14:23:02 UTC 2021


On Tue, May 18, 2021 at 1:27 PM Bret Busby <bret.busby at gmail.com> wrote:
> On 18/05/2021, Tom H <tomh0665 at gmail.com> wrote:
>> On Mon, May 17, 2021 at 10:15 PM Bret Busby <bret.busby at gmail.com>
>> wrote:
>>>
>>> So, what happens when the OS apparently ignores the settings?
>>>
>>> Tue May 18 04:10:23 bret at bret-Aspire-V3-772:~$locale
>>> LANG=en_AU.UTF-8
>>> LANGUAGE=en_AU:en
>>> LC_CTYPE="en_AU.UTF-8"
>>> LC_NUMERIC="en_AU.UTF-8"
>>> LC_TIME="en_AU.UTF-8"
>>> LC_COLLATE="en_AU.UTF-8"
>>> LC_MONETARY="en_AU.UTF-8"
>>> LC_MESSAGES="en_AU.UTF-8"
>>> LC_PAPER="en_AU.UTF-8"
>>> LC_NAME="en_AU.UTF-8"
>>> LC_ADDRESS="en_AU.UTF-8"
>>> LC_TELEPHONE="en_AU.UTF-8"
>>> LC_MEASUREMENT="en_AU.UTF-8"
>>> LC_IDENTIFICATION="en_AU.UTF-8"
>>> LC_ALL=
>>> Tue May 18 04:10:31 bret at bret-Aspire-V3-772:~$
>>>
>>> LC_TIME shows as being
>>> LC_TIME="en_AU.UTF-8"
>>>
>>> The date format as shown in the prompt, is USA.
>>>
>>> How do I get non-USA date format?
>>
>> I have "Emglish (UK)" as "Language" and "Format" under "Region and
>> Language".
>>
>> I have the following
>>
>> th at localhost ~ $ cat /etc/environment
>> LANG=en_GB.UTF-8
>> LC_COLLATE=C
>> LC_TIME=en_US.UTF-8
>> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
>> th at localhost ~ $
>> th at localhost ~ $ locale
>> LANG=en_GB.UTF-8
>> LANGUAGE=
>> LC_CTYPE="en_GB.UTF-8"
>> LC_NUMERIC=en_GB.UTF-8
>> LC_TIME=en_US.UTF-8
>> LC_COLLATE=C
>> LC_MONETARY=en_GB.UTF-8
>> LC_MESSAGES="en_GB.UTF-8"
>> LC_PAPER=en_GB.UTF-8
>> LC_NAME="en_GB.UTF-8"
>> LC_ADDRESS="en_GB.UTF-8"
>> LC_TELEPHONE="en_GB.UTF-8"
>> LC_MEASUREMENT=en_GB.UTF-8
>> LC_IDENTIFICATION="en_GB.UTF-8"
>> LC_ALL=
>> th at localhost ~ $
>>
>> And I have a US date format in the Gnome 40 top bar.
>
> Whilst, in my case, the setting of the variable value, makes no
> difference, I wonder whether your having the LC_TIME variable set
> to US, is intentional, and, whether, in your case, that has any
> influence over the format of your date display.

Yes. I set "LC_TIME" whenever this thread started to show you that the
Gnome clock format could be changed this way.




More information about the ubuntu-users mailing list