> Am 22.04.2023 um 16:21 schrieb Max Nikulin <maniku...@gmail.com>:
>
> On 22/04/2023 19:35, Ihor Radchenko wrote:
>> Axel Kielhorn writes:
>>> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01] =>
>>> 0:01\n:END:\n" #(
>>> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Do 06:00]--[2022-11-03 Do 06:01] =>
>>> 0:01\n:END:\n"
>> (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.
(with-environment-variables (("LC_TIME" "de_DE.UTF-8"))
(format-time-string "%A“))
Still results in „Saturday“ when I start emacs from a shell with LANG=C.
Axel