From debbugs-submit-bounces@debbugs.gnu.org Sat May 08 17:19:33 2021 Received: (at submit) by debbugs.gnu.org; 8 May 2021 21:19:33 +0000 Received: from localhost ([127.0.0.1]:52369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfUMG-0005gP-SX for submit@debbugs.gnu.org; Sat, 08 May 2021 17:19:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:56472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfUMF-0005gJ-RC for submit@debbugs.gnu.org; Sat, 08 May 2021 17:19:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfUMF-0004Yg-LL for bug-guix@gnu.org; Sat, 08 May 2021 17:19:31 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfUMD-0005Zh-IT for bug-guix@gnu.org; Sat, 08 May 2021 17:19:31 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C861A539A8 for ; Sat, 8 May 2021 23:19:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W9eHJnY15526 for ; Sat, 8 May 2021 23:19:24 +0200 (CEST) From: "Jorge P. de Morais Neto" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1620508764; bh=BMvFTMmtKTpq+vbfw8496uDWm+N5I5Rq5la5FJInHFE=; h=From:To:Subject:Date; b=BhOVOgyhdsHfpa9JmLj3V9bqvM0ZDyy7fhoNVUrvQGVEfbCEy6V9Bk1xYyXoajmWq ReKTunEdt+Na2uCotX/wswu1KHjrWZS20pI2GhV6DPdTBVv9ysE8spHVFr29+TdPDo EE/ajA1rGh+PHJUGiFlkt7xs5ahfT+QtCxqKM0GBVRr5oJ0WsSC0tlL7br05OUfDjm BR6NqO9iH1f4GnePufp6/9nk40dn8hLHW0ebgQPzdIBx5Eet+GgIB0nP6XNmZYNj5o 8nGIQTTHhMz0k+ynhYHrdE3gGs7QpnfLCokG/giW4Cf38HezcIWetLKIoLbwqqKKRj Egh2NIhbTZ+hw== To: bug-guix@gnu.org Subject: Guix Emacs does not get "America/Sao_Paulo" timezone by name Date: Sat, 08 May 2021 18:19:20 -0300 Message-ID: <87bl9k2aav.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=jorge+list@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi all! I use Guix on Debian bullseye=C2=B9. My Emacs is a Guix-installed emacs-next with a package transformation option to use the latest commit from the master branch. It works fine except that it wrongly evaluates the following function call: (current-time-zone nil "America/Sao_Paulo") It returns `(0 "America")'. And I have verified that the same bug also occurs on plain Emacs 27.2 (also from Guix). Last time I tested in a manually compiled Emacs 27.1.50, I got the correct result: `(-10800 "-03")'. Also I have just tested on someone else=E2=80=99s notebook---Emacs 26.3 from Ubuntu---and it too returned the correct result. I have not tested other timezones. Thank you for your work in GNU! =C2=B9 I intend to migrate to PureOS for better free software ethics. Regards --=20 - "In Support of Richard Stallman" - If an email of mine arrives at your spam box, please notify me. - Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and= 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid= .org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]