From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 6KVJGbygwmOkwwAAbAwnHQ (envelope-from ) for ; Sat, 14 Jan 2023 13:31:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WKVNGbygwmNjuQAA9RJhRA (envelope-from ) for ; Sat, 14 Jan 2023 13:31:56 +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 0D12F15A0F for ; Sat, 14 Jan 2023 13:31:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGfgm-0000hB-4z; Sat, 14 Jan 2023 07:31: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 1pGfgk-0000h3-Bl for emacs-orgmode@gnu.org; Sat, 14 Jan 2023 07:31:10 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGfgg-0001m4-6a for emacs-orgmode@gnu.org; Sat, 14 Jan 2023 07:31:10 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A939A2401A0 for ; Sat, 14 Jan 2023 13:31:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673699463; bh=Aha/WhMv+arGAqEPKuy+vCNswEjmltVgWtPAL9nru3o=; h=From:To:Cc:Subject:Date:From; b=FLtjG91PuMkCu+pgc9/VxCV7h5FjDU+wngOz6liRkWUvasVfjBN3uS2gCWf9p33C4 wiHiVprwHMkVk9Iz2EezCp8sNUUPaDtvpD7EyfO7BwECdvQKKJGdGATWzAChcopQr9 KzoasPXlr32bUNwSKbQNtYM13v87i4/p3/Q9fJs8AJ4ObdepS+mBDFUYmNmq95V+g8 EH0o7Pu+kiHEQmD1+3BsqzFyn4wFd/Uoq9btklfE010fWTcCINvarpCG9cm+lYueFa 3LUy7WXRViFo9Y8MjMlQWhT3V5gpIDPtkWzR9DkG/jIciIoaclvhK7tZmOcalTfKWe yqMrZbAVGTiEw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NvHh65Gvdz9rxB; Sat, 14 Jan 2023 13:31:02 +0100 (CET) From: Ihor Radchenko To: Russell Adams Cc: emacs-orgmode@gnu.org Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda In-Reply-To: References: <63c287ca.a70a0220.4bd14.873b@mx.google.com> <87mt6l1h97.fsf@localhost> <874jst1f7e.fsf@localhost> Date: Sat, 14 Jan 2023 12:31:33 +0000 Message-ID: <871qnx1emy.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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=pass header.d=posteo.net header.s=2017 header.b=FLtjG91P; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673699516; a=rsa-sha256; cv=none; b=XBfHSRup6aENHIlgQpDlquoNyM5XBe3xWOzb0VeaQabCBiQHvlrSfJp/gdEPa9rKyGRUSs WlCEnaoc3Dp6LfdU7axf/p+49R+Fxi6Z9vqCBOyzYM6kL3uAyZwW7FaKf7tkJ7uIPqXoEg KWokftD5zOVHgWSRF1VUmuL2AxqiENSTBtCCUALcK20QEKT/ASXH2yNnuGQaAzBzylTEEC g2aVfK8r9ZryK7EQ3fhmuKAgdeb4zfo2JrV2OyHo7OFf7oFlJfrgQU5Fgl7moYCpY+Nnez VgSWkk/G9bIp3nobCAMH8BXtuzW7bszMD4ZTHeuEOFRiFC/NN02zgqpj4Nq/iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673699516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=sPkrcPBrOKk3h65qJDWuGmHaAsjSJ6sQRs0kXjSBOUw=; b=qV5RRIiqGXjEFjfnb3EBN5sXFS4VF/ldxK9urTEz0RjNOSpob5NWrMA5xEMCR6yE4l5CK0 ojDeKjymUnzLOzY7gt8AFgwJdM3m/A1gvquaDoKeIsqE+n5+pv96Wz2fCLUzuR8yLcNEKs Gh7hy8n+Q7gcnTr5vTcR0EeipfF724W6I00nzgMWefeWBRAGJlceXoCDcKDQIL9NjFIbmE fma0sw5x90k6z8B1BfEfUO4y7tw22cqw2rqxqvOxW3srJgmQoWJLQzZEFuM4hkqC6+f40V tHhNdgC8t+7+H1HvOLieRrfoNCVVnKxti+KnpY7tkIMfBomUAlq023XSC45unA== X-Migadu-Queue-Id: 0D12F15A0F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FLtjG91P; 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=pass (policy=none) header.from=posteo.net X-Migadu-Spam-Score: -11.65 X-Spam-Score: -11.65 X-TUID: z0WJMXENEbW8 Russell Adams writes: >> Calc's time zone calculations are hard coded. We should rather rely on >> OS library primitives. They have better chances to get updated as >> politics changes in some countries. > > I had no idea. > > Wouldn't Emacs be updated eventually if timezones change? Doesn't it > use the tzdb? Emacs uses time.h on Linux. If I understand correctly, time.h should use tzdb or whatever is called in the particular GNU/Linux distribution. > I'd rather see Org depend on built in Emacs functions than OS. That's a question to Emacs developers. AFAIR, Emacs uses system libraries for time zones because otherwise the maintenance would be unbearable. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at