From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 EAe3Ex5KyGMsHQAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 20:35:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8EzIEx5KyGM7DwAAauVa8A (envelope-from ) for ; Wed, 18 Jan 2023 20:35:58 +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 1A9793E412 for ; Wed, 18 Jan 2023 20:35:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIEDA-0008SA-FA; Wed, 18 Jan 2023 14:35: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 1pIECt-0008Q3-Ks for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 14:34:49 -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 1pIECs-0006mQ-2m for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 14:34:47 -0500 Received: from localhost ([::ffff:197.239.7.243]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000103A08.0000000063C849D8.000042F4; Wed, 18 Jan 2023 12:34:47 -0700 Date: Wed, 18 Jan 2023 19:11:22 +0300 From: Jean Louis To: Ihor Radchenko Cc: Daryl Manning , emacs-orgmode@gnu.org Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda Message-ID: Mail-Followup-To: Ihor Radchenko , Daryl Manning , emacs-orgmode@gnu.org References: <63c2aa9e.170a0220.3bb49.9ef4@mx.google.com> <87pmbhz1x6.fsf@localhost> <87wn5mlo7f.fsf@localhost> <87pmbelnd0.fsf@localhost> <87fscajo2q.fsf@localhost> <87a62g8a2m.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87a62g8a2m.fsf@localhost> 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: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, RCVD_IN_SBL=0.141, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674070558; 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=8brtwYmH2blY4uAfycSf3V8PkGVmamEcliQud0CLXog=; b=fsWqaxhv6XTnX6295mF4/yf4oSrtaE4o0dpj6dcwLaXyncR23C/uk3q75hj0TTrhEnwOUd r/hebUZLKUoeie0CF8cOyy9eQPicZ4S8l9jobIqynmn5LAeGV7FSbjQ9g/NFQceYSQUQsu GFV2sjkb8D7t1sVgDPJIP9S8Oo/p8EkgDtWoThORDGlylBEaxkml3+/hxzFXzNxLTw1feN /U74q8Cfonf0WY1yyU1afzsolImj1TFFNbhaRszUvo30YikbwaMai+NGZQa/36f9vdTjhs cJbXf/4jH1M4w1TylHQ2nElCLrUN+jgxAeaE0vb/X8BInxixq7BYSPSWe5JN6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674070558; a=rsa-sha256; cv=none; b=hOJSwFOD6pAgZ+p3TX0GjuZHAs+AOXQYPmZLSVWt0TSI2uTCnodUD9qgFC+dMkVYpymChe 4Vo9E0UhMqqe0vPqcTJNK0p/V82yfhKgPHhkIX+DXuIBn8L5CJVa17TXofULEicChP3tsj fo2slTg5XHHD+2es/ewqtQTAyArQIA+16m8rHU6Uq/ESjvr5xr/vVSTTS5QqtsSF4Z1f2v RmtfuQpJNsHQ6eta9G7/388fHxHmYOKhjIPzCZhdaAR3wrsKurQopDZywoBsTaG4h0Xfc6 aBW+t+riBtaCfRvgUxPiFaAkZy6py23NelcAR0Hdb+LJkLWTB1hI5LIlOdtVDA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 2.37 X-Spam-Score: 2.37 X-Migadu-Queue-Id: 1A9793E412 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-TUID: egqMJkd5g3JE * Ihor Radchenko [2023-01-18 12:29]: > What should we do when: > > 1. It is close to DST transition 2:59 -> 2:00 -> 2:01 -> ... -> 2:59 -> 3:00 > and the users asks to create a timestamp +1h from now > or, worse, a timestamp +1h from now in a different time zone I still understand that it should be job of underlying system functions. Org is only invoking addition by using system time: >From Org timestamp with time zone one has to use system functions, to add, or deduct time, then again to Org time representation. > 2. A user asks +1w date shift and the time zone has a 1-day jump during DST? > what about +7d? +1d? That is all for system functions to know. Is not good on the higher level (of Org) to start deciding about international issues that shall be recorded in C libraries somewhere, time zone databases, etc -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/