From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eAACDYvbQ2RmJwAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 15:05:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QOb/C4vbQ2TVGAAAG6o9tA (envelope-from ) for ; Sat, 22 Apr 2023 15:05:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D097E24B57 for ; Sat, 22 Apr 2023 15:05:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqCuT-0007l4-1H; Sat, 22 Apr 2023 09:04:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqCuR-0007kw-Ef for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 09:04:11 -0400 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqCuN-0004UR-2K for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 09:04:09 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id da0475cd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 22 Apr 2023 13:04:04 +0000 (UTC) References: <87bkjguma8.fsf@localhost> User-agent: mu4e 1.9.22; emacs 30.0.50 To: Ihor Radchenko Cc: Axel Kielhorn , emacs-orgmode@gnu.org Subject: Re: Test failure due to LANG Date: Sat, 22 Apr 2023 21:00:00 +0800 In-reply-to: <87bkjguma8.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682168714; a=rsa-sha256; cv=none; b=lgSMIFq5h2VM8Nw3NRqBc62pBCb85jST61OcPahLyM0uIU4OhD3EKv19a8/CAd6ufSc62y 2d155tFIcHTsTq2TeK1gDbDueNNHTrJtGE3SE3QPoqNPcPv2H+2YI4HEjAmgGeOmY8efpP 78PWSCfjbpX8JQ9PAtzn/wHMNlQqwJYJgbIwbCDprDr9tKxeVTw8aOLzzsqrCulEKdF/Or a0xKKOa72u/d6okYlZhdha9JFm9daYtBoeGQMIcGJ+ZsMuQ7hzo73JwCL0Q2Iu3NKsDnQ+ gibpYgM6HAZse01iVqDz9vacV2GfBTGjkLaBdmrFftRgF7nxBzaFjmQTfKvplQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682168714; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=C8U3GuYpYBrUG8pmFW+CSCOw3fnplcOEDcbD5+6WPSs=; b=t120HHf1icjqHIlgB+TlOfC4iTPxvzPH3dF32r6BB1zUFTyNQSaYGEqFUmtxkzH95A9ZAS 22shIg0PltENYIpgUfl64rYCqX8sej5zeJSdyP5XHsF7ZZ151C0Y8OpRO19vVlNhshBX3T cGsVMTorZ6KK9fFfrT12q50mVg63ghjVJ4vuEHP6ggiT6wamKLdpQ7LAOUfDMFJoQlzgs5 ZiPNr/6AV5fAzQ+T/wcIAYwq7xOMydX47XqmlofVCfB7RPauI51q37N9i1MW9MX/EYV/Tv cXeSqInzPKxxG923KyId1C11vHjSXr0cL6+Hm6dhoadrD8fgfQymAifz2Y4UJQ== X-Migadu-Spam-Score: -3.21 X-Spam-Score: -3.21 X-Migadu-Queue-Id: D097E24B57 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: Zy7LEDGi4UwE Ihor Radchenko writes: > Axel Kielhorn writes: > >> I=E2=80=99m building org with LANG=3Dde. >> As a result I get two failed tests: >> >> ... >> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01]= =3D> 0:01\n:END:\n" #( >> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Do 06:00]--[2022-11-03 Do 06:01] = =3D> 0:01\n:END:\n"=20 >> ... >> "CLOCK: [2023-02-19 Sun 21:30]--[2023-02-19 Sun 23:35] =3D> 2:05" #( >> "CLOCK: [2023-02-19 So 21:30]--[2023-02-19 So 23:35] =3D> 2:05"=20 > > I guess we can explicitly specify LANG in these tests. > Though I am not 100% how because I cannot reproduce on my Linux. > > May you try > > (with-environment-variables (("LANG" "de")) > (format-time-string "%A")) > (with-environment-variables (("LANG" "en")) > (format-time-string "%A")) > > and report the output? > (For me, it is all same...) I think it is still important to try different locales, like the test failures I found using zh_CN.UTF-8 (in the other subthread) which would not be uncovered if you only assume one single locale. I am working on a patch that would hopefully help in this regard, which I will post under the other subthread. --=20 Best, RY [Please note that this mail might go to spam due to some misconfiguration in my mail server -- still investigating.]