From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OCwEFfsuwmP9KAEAbAwnHQ (envelope-from ) for ; Sat, 14 Jan 2023 05:26:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MBsOFfsuwmPacgAA9RJhRA (envelope-from ) for ; Sat, 14 Jan 2023 05:26:35 +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 C88B71C102 for ; Sat, 14 Jan 2023 05:26:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGY2W-0003Qs-UU; Fri, 13 Jan 2023 23:21:08 -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 1pGY2V-0003Pw-3v for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 23:21:07 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGY2Q-0000e0-VM for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 23:21:06 -0500 Received: from localhost ([::ffff:197.239.12.81]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055DC4.0000000063C22D8E.0000228E; Fri, 13 Jan 2023 21:20:29 -0700 Date: Fri, 13 Jan 2023 22:06:20 +0300 From: Jean Louis To: Daryl Manning Cc: Org-mode Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda Message-ID: Mail-Followup-To: Daryl Manning , Org-mode References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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-Seal: i=1; s=key1; d=yhetil.org; t=1673670395; a=rsa-sha256; cv=none; b=GDDFKWTS+bvAnrXuBSIv3kV1yoyB4xIVKxLX4jq2bhNouskbuIGoF+spHWcJ2GQXQHiXVO ON+ZUBrqVTNGS3m/hL5bcFVhTCpjZGDSBWP3I0G7xHeZwamcuAD2OAfveLkFSE6QdOkZdA ziJX1rbaPObdinlhK3cKbprBiIaRLG5tZbm1EsiR03tyeped2TnAVL8ocso4+dmNbJAH3j ClDwkbkz+DXmwgrBOltGy/GnoZbwU7kd0B/n5cTVDLS9HjagwQEkSnOQOqChTkLe/r0r8S sqiyKDwYRNuezAcnNdQ3mtfos7D2Mdv7dvi1aq6X283uB6uUKpxLmY9ma0Vdbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673670395; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=NOJalBSUbtgHvfWgt3QTWr+gDSc1cH5OFieNoVGu9JY=; b=AN8fD2AnccDFAORXeRdyAdBC9ixeEQpkVpknF5tMRMLyMG5ziOWY5PQ3MapSv8upjZ5SGG 9N2z1QzlOOOCFdaJza9Ce+QpRagACA39GA0SHag1MWWC+1m663GsQ5SEOog53ovoQsxKiZ CWyGoFIt3IX6JuP+Q3Bd6O7Gwrgyl87Kbc2zBuUJqlMTQq4koDRzqUp8hka3FUUo6030md vVFB2W5yFmbOw2p08dpMlGiJXz1eA1LkIYRdk3bKzpbcT1Ewe5ShoQ9LmpOjHfMqMXcIVQ einK18NuImhc0+lzZZVAK27tevgwMvGD1hMq5YT9kv9QPVPSKpQBxcX8QJ82QA== X-Migadu-Spam-Score: -2.41 X-Spam-Score: -2.41 X-Migadu-Queue-Id: C88B71C102 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; 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-TUID: NDjEMBG8S4We * Daryl Manning [2023-01-13 11:59]: > *Background* > > 1. org-time-stamp-formats TZ currently only affects display and exports > 2. org-agenda itself is not TZ aware > 3. Several discussions on this have taken place over time > 4. Concerns raise included breaking backwards compatibility > > *Proposal* > > 1. org-mode sets an optional variable (org-timezone-aware t) which enables > TZ > 2. org-agenda needs a way to determine which timezone it is in > 3. Once enabled, any timestamp not exhibiting a TZ in it is considered > "local time" wherever that is (I do not think UTC would work for this) > 4. org-agenda can calc local based on TZ differences Totally understandable. In my opinion time functions shall be implemented, if they are not, in Emacs generally, not only Org specific. This is good for review as related to PostgreSQL database: https://wiki.postgresql.org/wiki/Don%27t_Do_This#Don.27t_use_timestamp_.28without_time_zone.29 Analogously it would be best that Org becomes time zone aware. It would mean that timestamps become time zone aware. Something like this: <2023-01-15 Sun +1> When timestamp becomes time zone aware, then as preliminary option it would be possible to update all the timestamps in an Org file for personal use. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/