[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test failure due to LANG
From: |
Ihor Radchenko |
Subject: |
Re: Test failure due to LANG |
Date: |
Sat, 22 Apr 2023 14:35:01 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
>> (with-environment-variables (("LANG" "de"))
>> (format-time-string "%A"))
>> (with-environment-variables (("LANG" "en"))
>> (format-time-string "%A"))
>
> ("LC_TIME" "de_DE.UTF-8")
>
> Since it is related to dates or even "LC_ALL". E.g. Ubuntu installer may
> configure LC_TIME overriding LANG. Some users may have LC_ALL that
> overrides specific LC_* variable and LANG.
I guess it will also depend on whether the requested locales are
generated. I only generated "en" on my system, so even setting LC_TIME
will change nothing for me as the only available locale is used
regardless.
I now think that overriding the locale is not reliable in practice.
Ruijie's idea may be better.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), (continued)
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/23
- Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/23
- Re: [DRAFT PATCH v5] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/25
- Re: [DRAFT PATCH v6] Decouple LANG= and testing (was: Test failure due to LANG), Ruijie Yu, 2023/04/25
- Re: [DRAFT PATCH v6] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/26
- Re: [DRAFT PATCH v5] Decouple LANG= and testing (was: Test failure due to LANG), Ihor Radchenko, 2023/04/26
- Re: Test failure due to LANG, Axel Kielhorn, 2023/04/22
Re: Test failure due to LANG, Ihor Radchenko, 2023/04/22
Re: Test failure due to LANG, Axel Kielhorn, 2023/04/22