From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WMkXId7AwmMMmwAAbAwnHQ (envelope-from ) for ; Sat, 14 Jan 2023 15:49:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gGzfH97AwmNaDgAAG6o9tA (envelope-from ) for ; Sat, 14 Jan 2023 15:49:02 +0100 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 1F0412A737 for ; Sat, 14 Jan 2023 15:49:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGhpM-0006yI-0D; Sat, 14 Jan 2023 09:48:12 -0500 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 1pGhpK-0006y4-4y for emacs-orgmode@gnu.org; Sat, 14 Jan 2023 09:48:10 -0500 Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGhpI-00082I-4W for emacs-orgmode@gnu.org; Sat, 14 Jan 2023 09:48:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=WZj46S3rFzQFlCYbeAZwflHZeUDaS+KKFbFctPTTwLc=; b=uKPFnhYz5bfLdFFReKPCAQ7bVW MyloFLguAMqu41cAiZyEiJ7wnlPhC2kjY7/sMx31CqdmCwIqq51/eLgaM54uEy0ERHjzxRfXetxBi XeCu1fnKfD3rO1FWxCPQSHhOVU+D+QiicLI2lRiBw8LoFFVJt3w932z04RoG1Od70HT46CupG5MIw 4Y601z+EBpzCGw1X3CcAvIxuArUAEbY4jxj8Zo2Cmn8+FVw+yeT1JbGv6vPQ0HyvKi2haH95ReCgb EcNkBNcBVqQ3uEBOoE4XxOdDeAN6Kg7NbOk/vRKFILLIITY57shP2lstRDvZgW9zzRa1ENFaIKJjt sFs4W4Qg==; Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1pGhpF-0006PN-MD for emacs-orgmode@gnu.org; Sat, 14 Jan 2023 15:48:05 +0100 Date: Sat, 14 Jan 2023 15:48:05 +0100 To: emacs-orgmode@gnu.org Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda Message-ID: References: <63c287ca.a70a0220.4bd14.873b@mx.google.com> <87pmbh1hgx.fsf@localhost> <63c2b8e4.a70a0220.e3b6d.0051@mx.google.com> <87edrxyyeq.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L/9jFO39cJhFcDOG" Content-Disposition: inline In-Reply-To: <87edrxyyeq.fsf@localhost> From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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-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: , 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=uKPFnhYz; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673707742; a=rsa-sha256; cv=none; b=Ge0kV6MlM9b6vwEwLhPC8ILiXCN7Cxt7AFWZXmpUKt/X3fnDh2qAnXlnI4kS09kQ80Yxk7 aSYaUDWqTiSjvenJ1ENf2Akdhc5+PwZ2pCHa5AvM5lpUa1xRsE6/8uNuSb0H+0qhAlnqZm MeqCyLFI/tRFpTiP7qJoJrF17GqS/ZKnWZGekXQUxHI5WzZ5V/P79KhSOWxXV/yztEgwKG U8OqD+NRB31h3xaxolOLOHhIhfruvgNTiKIezaGdovaT7q1QNpekDniVTiOtd1Ws4hdWpW oxQTPa7nrTbBO2h1Z2cAkLVAl0496/UdsVyw1tkHnvzR9VDO3TOu3XHsCujAmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673707742; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WZj46S3rFzQFlCYbeAZwflHZeUDaS+KKFbFctPTTwLc=; b=tj66/EXkTAfAlY+6hpAGGB0mqY6q45rTyQsdgu2XkEIx58mqnhU6JdQLnTvVQ+HG+LJ4EP CgqORsOjQ8tLz3vs+ogMtg0lOyUr1Yn4Ll8qde8aY9+uVmyPr0vfHo/yznJUraW4/Lllyv YuUiAONif6QNHYJQrvaSDCcnW7Uc1l+nOlT+DlLlMc3H+5h5r7sQEcKv70lX9j6NeCz75Y 29IXPgaoe2+CMOhwQwvxhjK/kCTn4CpiNlRzSye5z/SW7wXXedpZ8E5mCKHUogGKtzEJ8Q Xwqg7My5oRtjmrnyz3R849tv0nFss4tbRrcorqH1gFeJZamJbEJz0ZoNWoRPaw== X-Migadu-Queue-Id: 1F0412A737 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=uKPFnhYz; 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"; dmarc=none X-Migadu-Spam-Score: -4.51 X-Spam-Score: -4.51 X-TUID: kjTo4O+zLwGI --L/9jFO39cJhFcDOG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 14, 2023 at 02:38:05PM +0000, Ihor Radchenko wrote: [...] > > Or to put it in another way - currently, it is well understood where org > > timestamps fall down. However, once you add TZ and provide the > > expectation TZ data will be respected correctly, all bets are off. >=20 > I think I need to clarify. > Emacs currently relies on glibc time zone support on Linux. > I am not sure if glibc is 100% accurate, but it should be good enough. > At least, there is no way we can do better ourselves. TBH, this is the only way which makes sense. The OS keeps the Olson database up to date and all applications rely on that. Anything else would be madness. Now there's still enough work for the applications to do: presentation, parsing, disambiguation, if necessary asking the user for help. Someone mentioned PostgreSQL -- this is a nice example of what can be done beyond the (comparatively!) boring details of time zone management :-) Cheers --=20 t --L/9jFO39cJhFcDOG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCY8LAngAKCRAFyCz1etHa RjnTAJ4+uXXz+Tb34dEoRMw7FqxhGf642QCeOgkdVDFjnD0U7xDTc2b9MPqCmGU= =ZD2m -----END PGP SIGNATURE----- --L/9jFO39cJhFcDOG--