From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AEzUIDp3nWCjGAAAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 21:00:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kAViHDp3nWAnXAAAbx9fmQ (envelope-from ) for ; Thu, 13 May 2021 19:00:10 +0000 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 3916B136FB for ; Thu, 13 May 2021 21:00:10 +0200 (CEST) Received: from localhost ([::1]:51108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhGZ7-0003jD-1a for larch@yhetil.org; Thu, 13 May 2021 15:00:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhGZ0-0003hO-Sa for guix-patches@gnu.org; Thu, 13 May 2021 15:00:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhGZ0-0006vH-Ki for guix-patches@gnu.org; Thu, 13 May 2021 15:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhGZ0-0003A4-Hx for guix-patches@gnu.org; Thu, 13 May 2021 15:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48364] [PATCH 5/5] gnu: Add tz. References: <20210511185554.67355-5-stefan@xsteve.at> In-Reply-To: <20210511185554.67355-5-stefan@xsteve.at> Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 May 2021 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48364 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48364@debbugs.gnu.org Received: via spool by 48364-submit@debbugs.gnu.org id=B48364.162093235512071 (code B ref 48364); Thu, 13 May 2021 19:00:02 +0000 Received: (at 48364) by debbugs.gnu.org; 13 May 2021 18:59:15 +0000 Received: from localhost ([127.0.0.1]:44305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhGYE-00038d-Sb for submit@debbugs.gnu.org; Thu, 13 May 2021 14:59:15 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:34418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhGYB-00038P-Fd for 48364@debbugs.gnu.org; Thu, 13 May 2021 14:59:13 -0400 Received: from localhost (217-149-167-109.nat.highway.telekom.at [217.149.167.109]) by dd3624.kasserver.com (Postfix) with ESMTPA id 88E405D40111 for <48364@debbugs.gnu.org>; Thu, 13 May 2021 20:59:08 +0200 (CEST) From: Stefan =?UTF-8?Q?Reich=C3=B6r?= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Thu, 13 May 2021 20:59:07 +0200 Message-ID: <87v97mbguc.fsf@xsteve.at> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620932410; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=UmUkk9HzoCPfI4T+csR22phsvvGPXsV9s4i5sEo//bk=; b=DcPnAMiqJTjT5kXdcDp/rOTTHGlojq1YLLnvaS9L3uqAZgY8UbLGZDYJ8oICvy+ng4fr8y 5hiJ3B/4sEw8vQgUkUVi3hDx94gwfm8A7nCplViLEz/UFfsqdorkTrir7g5pF+gws/rgph TvQ/jZEit/6sq3fzq17yQxy3XTBOOQ9PyT+QbPmHbHFcpBWWW+otVijxmoHJSavrVU+ZWs PK2yUuXBJchFP1znYxa9L03HrmqZFpzA0HjnH8CE6Ne3pWlqsfs/yUOVqfFw8ngzArARJp reRz/VF0xjDiUwt+k/DjCjO6jxITM6pRse9YMIsUIZq5kxBGhUwUXFOM4VUy4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620932410; a=rsa-sha256; cv=none; b=r45R0MRPXPzC+UI4o31wvL8pF930VLCie/ZGmTXybvOYM+HaWQD5zGEX7W+5BBHPlEl5en uRSVqB0glNRB50emrn1SvDAAcSMjKm0KUPJg7tEIqzKVUR2lQ059tHR+NHh/RDqpH/DW9E qgQEIwmdwolMdA6CrvrG7YP8H2J0ltMaQLkYyW63al0uXt8a4D8YaIrSogqVp0r6P5K6NQ MuXJSC4ef6ydNHaz9cZe8nlTAqafMEZqOP49pBWFQ7hoGpgPa56OveN/yK+JAkUXpkHj7R cQgesvIkuvcjwZSCRB/OGtWeOWVBJuMS3oPTzVMEQlcTVhcxmcNxohnBqEn7zA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3916B136FB X-Spam-Score: -2.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6fDLEjxIc2EZ Another attempt to answer the question from Leo Famulari I didn't get the question from the bugtracker by email: ,---- | I'm curious, how does it find the time zone database? | | It should look them up at runtime via something like a TZDIR environment | variable. It should not include a copy of the database, or else it will | become "stale" before too long. `---- Yesterday I tried to answer it directly in the web interface. My answer didn't show up :-( Now I try to answer per email The timezone is determined by the go runtime function LoadLocation: https://github.com/oz/tz/blob/main/zone.go#L77 LoadLocation does the lookup in the installed timezone database: https://golang.org/pkg/time/#LoadLocation