Date format in GNOME 40 panel clock
Bret Busby
bret.busby at gmail.com
Mon May 17 20:13:43 UTC 2021
On 11/05/2021, Tom H <tomh0665 at gmail.com> wrote:
> On Mon, May 10, 2021 at 9:42 PM Bret Busby <bret at busby.net> wrote:
>> On 11/5/21 1:50 am, Tom H wrote:
>>> On Mon, May 10, 2021 at 2:23 PM Frank Vanoni
>>> <mailinglist at linuxista.com> wrote:
>>>> On Mon, 2021-05-10 at 12:18 +0200, Tom H wrote:
>>>>>
>>>>> Are you using the right locale?
>>>>
>>>> Yes! Time and date are displayed correctly in any application
>>>> (Nautilus, Evolution, Calendar, etc.).
>>>>
>>>> It's just the panel clock on the top that ignores the locales.
>>>
>>> I have "United Kingdom" selected in the "Formats" section of
>>> "Region and Language", and the date that's displayed in the top
>>> bar is in UK format.
>>>
>>> If I set "LC_TIME=en_US.UTF-8" in "/etc/environment", the date
>>> that's displayed in the top bar is in US format.
>>>
>>> If I unset "LC_TIME" in "/etc/environment" and select "United
>>> States" in the "Formats" section of "Region and Language", the
>>> date that's displayed in the top bar is in US format.
>>
>> Tue May 11 03:34:46 bret at bret-Aspire-5750G:~$cat /etc/environment
>> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
>> Tue May 11 03:35:00 bret at bret-Aspire-5750G:~$
>>
>> My /etc/environment appears to not include that variable.
>
> If you'd rather not add it to "/etc/environment", you can add it to
> "/etc/default/locale". Both are used by "pam_env.so", in that order,
> in Ubuntu's pam stack.
>
So, what happens when the OS apparently ignorers 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?
--
Bret Busby
UbuntuMATE User and Campaigner
Clean Energy User and Campaigner
Human Rights Campaigner
UBI and Citizens Dividend Campaigner
Armadale
West Australia
(UTC+0800)
..............
Armadale - where the vindictive city council
shows its contempt for its residents and
ratepayers and for public health and safety
and increasingly makes Armadale a dangerous slum
West Australia - a state of poverty,
corruption, and without hope; and,
the one state/territory
in mainland Australia where the state legislature
does not financially support
domestic rooftop photovoltaic systems
with battery storage but instead
punishes householders with
domestic rooftop photovoltaic systems
and where the state legislature
operates on the Animal Farm principle
and remains aloof from the plebs
and treats road safety with contempt
Australia - a country that is so poor,
it ran out of toilet paper
and where the feral legislature robs
WA of its fair share of GST revenue
and where the feral government tried
to use biological warfare against WA
and where the feral legislature
remains aloof from the plebs, and
protects it's members from accountability
and from democracy
................................................
More information about the ubuntu-users
mailing list