From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iGTJOn80xWOVAQEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 12:26:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oLPQOn80xWP5PAEA9RJhRA (envelope-from ) for ; Mon, 16 Jan 2023 12:26:55 +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 CA50DACDA for ; Mon, 16 Jan 2023 12:26:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHNcw-0004np-56; Mon, 16 Jan 2023 06:26:10 -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 1pHNcL-0004hW-21 for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 06:25:36 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHNcF-0007sE-BR for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 06:25:30 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1B3F42401DE for ; Mon, 16 Jan 2023 12:25:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673868321; bh=O1m1Y+ubdPkIbT254WOxRAlpfGM3cpAQbdladpu4g8M=; h=From:To:Cc:Subject:Date:From; b=kNqhpmMKTX+3vT8nca8OqH5I3aI5x8RdsVeMU2beySsrkJ5bGYYOHh/y7z8Zehr9X wA1Ilii8PejXBfpx5foe9zV+DPJsu305Y/Zu6gR7UIMWSQlhYNoTAp59Ur/GuwBNHu cwF9C+OsyKsaMiW+7RYRlnT7QFDYeQYZfCCIV5rKuqkNIiD64tQbH5jn+dqwHHa6pp LwgngnwN4H9RpWD8Hyk/rkYl0wKl0cjrc5gd0wJ0yQoN4Cixzupy/ZGmI892f6iDfY wBLA89AW0cETPeIPWQR3Ptp07VewjOrZDOlJCXsBNFpby8lHPiDHiha8FD6LoMquCh x9tz5sdvF1F8w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NwV7N0c4Mz6tmF; Mon, 16 Jan 2023 12:25:19 +0100 (CET) From: Ihor Radchenko To: Jean Louis Cc: Tim Cross , Daryl Manning , emacs-orgmode@gnu.org Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda In-Reply-To: References: <86zgamtv6o.fsf@gmail.com> <87tu0t1i0c.fsf@localhost> <63c2aa9e.170a0220.3bb49.9ef4@mx.google.com> <87pmbhz1x6.fsf@localhost> Date: Mon, 16 Jan 2023 11:25:50 +0000 Message-ID: <87tu0qlo01.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H2=-0.001, 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=kNqhpmMK; 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=1673868415; a=rsa-sha256; cv=none; b=IeCMgJKl0Cyy8S/OqglUmwl7YDevKWT0JjfmSoJ4KbEyEjJKcxTduGFNo9pUplH5jJ7fKt t4j/lai54gmTvATdpKweubUikxIDy385RkyPWSBOKJpkgxpTuRCdA35K2K6Gb/b68Vpp7b NLNPqNPY7u5rx1+nx7mIdnDfnZxh1VYtdRIvbNaUY0G61gqUJ5P4uus6O1mtunNAE/oNBf 9zAsNm/vw2ZjEuUzX3jiePl6I/bZBP7uGX4kyxp7DW7GL7RlH/awu5q4oZhAEjPrjH9DWC 3jsPGSWmqomNEA0SLp5t1piJShSpnLtBobVtimF2qxDp7C3S3YkImUy9+GImWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673868415; 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=gctgwxQj6mwwLZkoPhF09vYFTRY+R6aoD/lsKHzVEMM=; b=jrr1ee/Q5thT0MP/NhsVUSjHe+f/DZ6WHWDgPN7LhivjQ1G8AE1Ob/7fgXFeRzcIc1JCbU pOSJqxmRiKnLHY5LV7cymbQwlP4PjzKNXWroNwYqtcIVCj3QwTW3P0DNK/6ecXfF0yESWO YFTaUWmmaSUZ383BaprYqfDsJt7SFvLPi4r25njLYAscK1ohPNx0Wg2He/W7BxUKOoYbMe +qHCCsooAGwkD3CPbDMzeuPPtCGPkXkxr2t1A4cWFmFb8nARxi2xn1gwQWN2fye9895Py0 1EdAeq4jqtpjZpP6HiSV+8pZzeTJ4wIeWBPaYzDN9VJ9OOnbhBXG8bJBeTyk3A== X-Migadu-Queue-Id: CA50DACDA X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kNqhpmMK; 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.37 X-Spam-Score: -11.37 X-TUID: 5d+6aaNGSxsu Jean Louis writes: >> I am not sure what is the problem. >> The timestamps that should stay in local time will be automatically >> updated as your system TZ is updated. > > Then Org shall know what was local time! Without being specified in > the time stamp, it has to be specified somewhere, as computer can't > know at which time zone was it specified. We need nothing to use current time zone. And we already do it. System clock knows the current time zone. Emacs has an ability to determine current time zone. See `current-time-zone'. This works automatically (and already) because we use `encode-time'. > You need to review practical examples as they are already listed in > this thread by various people. Indeed. This is the whole point of this discussion. Note my replies with updated ideas. So far, I do not see a need to get some extra information about time zones though. If you can, please correct me in the relevant branches of this thread. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at