emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Test failure due to LANG


From: Max Nikulin
Subject: Re: Test failure due to LANG
Date: Sat, 22 Apr 2023 21:21:35 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]