From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 WGJmL0FPxWPieQEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 14:21:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sHhYLkFPxWOijQAAG6o9tA (envelope-from ) for ; Mon, 16 Jan 2023 14:21:05 +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 8AAB927949 for ; Mon, 16 Jan 2023 14:21:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHPPf-0004we-Cg; Mon, 16 Jan 2023 08:20:35 -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 1pHPPd-0004uV-It for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 08:20:33 -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 1pHPPb-00071G-Gl for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 08:20:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C8005240057 for ; Mon, 16 Jan 2023 14:20:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673875229; bh=a3ruoXXSrBphVf7Dyny+qdgPKiL+jFT2hg+px+15OFM=; h=From:To:Cc:Subject:Date:From; b=RkbEE2GSW0VwM/PyFHY8Gj9VEMr8NTiKhOZIKu7kzNZqTXIPhQ9TaliEY6HHrV3YF n3Ul05DEUORnBOFLQ9gGs5cZGEvRe12QpjPrTIsY5r3m+2aYkqg0sj+OgRiaD7HHdW rYbUwzaE4w+A5cVmRQNzARFJo2LqrAfTUW2iCymwV37607GYcLYBfDSJf5xiqKlNf4 dUfpbF4C5fqL9fEUfO05OTTPDY3PcTYoBc+Et0NLBgnA2+aUYH7ZPfjdj19S1QpSU8 IkyysTkAZHoWgo0ePrsF2O6qLXOKVblet4Y6p8fudO1QvVRiZOemVM9EAPnrgXvp92 /c8XHzA2DOlsg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NwXhC75j1z6tlh; Mon, 16 Jan 2023 14:20:27 +0100 (CET) From: Ihor Radchenko To: Jean Louis Cc: Tim Cross , Max Nikulin , 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> <63c2b760.170a0220.56455.a114@mx.google.com> <63c31663.a70a0220.3ab1f.a9e2@mx.google.com> <63c3b1a4.a70a0220.225b1.83fe@mx.google.com> Date: Mon, 16 Jan 2023 13:20:58 +0000 Message-ID: <87bkmylio5.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-Seal: i=1; s=key1; d=yhetil.org; t=1673875265; a=rsa-sha256; cv=none; b=OpYyhy4OC9Ev4oanOHrDw7Ym6+sAu2bkVpqfLjWLGRMJkva9so06ilD8e7FbBYlwSNI+LS j+q7X/m7c9N3r5fqKKYYyjCkrxM+yZd81cPIi55yJAhUx9nWOT2KVfLyVIStTi23eOSvYQ EkyiZaYaC4EuFxLcyV0nNKd0X86Io/LulycHIxeog/kpbdZKitCXdAo5A91EN/JbtR50Fr rMitlggHYqIvUHeQaSpwjpJdIaWuuOOwZsggrF5DWEQGQAVD6etAfqsBkM8/jvG/3lsaet wRuhLotR8ZpE72X/46BiEpjA7lPCoU3f0GuJyPhNZLI7zbXIP9w/myrQlltmBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RkbEE2GS; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673875265; 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=613wnUdKzZ/FS2dQcMC/a4lZ9JU60wa2S4VD4l87us8=; b=gWkHoXngkwXilM9G1f7fycw8VfzCARNSEzfnaa5McxN9Nv9e9MjSq5LEYB8qFPpzg+X9ty i0TBKfeKFbwKTK0ZYU9CIOiU/B1o7HRJzTJ80c5RzrIU1fyrz/JUDkoYm4MWWHIG8kCML1 Tf3qYJ5bruAGT5fz/VzuFIlCl9FcjVNapaEtCBDqUaZoRRRw0AIFyto6rGJSXlvOWDFArE cuwIS5fsOf0z0lNHzUeX65IPn18zQTxMc5pp6dghWu/QsFDoqVOm51DUQtZJ7cOL6LXA3+ Q4P2HyFqrVxmT+r2bc1i0Rqqh8GiTOiekyU6SZ4uSG7ZnlWVHtgBxlO5rZH+FQ== X-Migadu-Spam-Score: -6.07 X-Spam-Score: -6.07 X-Migadu-Queue-Id: 8AAB927949 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RkbEE2GS; 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-TUID: +mvSJNgokcZz Jean Louis writes: > One could think for Org to simply become able to designate time zone > somewhere, be it generally for Org file or/and specific heading, or/and > specific timestamp. > > Then implement function to transform time to UTC, and then use > libraries or Emacs to transform UTC to designated time zone. We already transform timestamps into internal time representation via `encode-time' (for the most part, at least). It is an equivalent to transforming to UTC. The internal representation can be later transformed back via `decode-time' with appropriate target ZONE parameter. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at