On 22/04/2023 21:40, Axel Kielhorn wrote:
(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.
Changing environment variable while process is running is not enough.
There is a dedicated fu
> Am 22.04.2023 um 16:21 schrieb Max Nikulin :
>
> 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:0
> Am 22.04.2023 um 14:35 schrieb Ihor Radchenko :
>
>
> (with-environment-variables (("LANG" "de"))
> (format-time-string "%A"))
> (with-environment-variables (("LANG" "en"))
> (format-time-string "%A“))
When I start Emacs from a shell with LANG=de I get „Samstag“ in both cases.
When I star
Max Nikulin 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
> configu
> Am 22.04.2023 um 14:37 schrieb Ruijie Yu :
>
>
>
> Axel, does this patch fix test-org-clock/clock-drawer-dwim on your
> system?
>
> <0001-testing-lisp-test-org-clock.el.patch>
Yes it does, thanks.
Axel
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")
Ihor Radchenko writes:
> Axel Kielhorn writes:
>
>> I’m building org with LANG=de.
>> As a result I get two failed tests:
>>
>> ...
>> "* 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
Ruijie Yu via "General discussions about Org-mode."
writes:
> Ruijie Yu via "General discussions about Org-mode."
> writes:
>
>> Axel Kielhorn writes:
>>
>>> Hello!
>>>
>>> I’m building org with LANG=de.
>>> As a result I get two failed tests:
>>
>> Reproducible using "LANG=zh_CN.UTF-8". In
Axel Kielhorn writes:
> I’m building org with LANG=de.
> As a result I get two failed tests:
>
> ...
> "* 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"
Ruijie Yu via "General discussions about Org-mode."
writes:
> Axel Kielhorn writes:
>
>> Hello!
>>
>> I’m building org with LANG=de.
>> As a result I get two failed tests:
>
> Reproducible using "LANG=zh_CN.UTF-8". In fact, I got more failed tests
> in my testing. I think the OP's two test f
Axel Kielhorn writes:
> Hello!
>
> I’m building org with LANG=de.
> As a result I get two failed tests:
Reproducible using "LANG=zh_CN.UTF-8". In fact, I got more failed tests
in my testing. I think the OP's two test failures are due to hardcoded
English expected result, whereas the additiona
11 matches
Mail list logo