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 2CDJKYaswmNVcgEAbAwnHQ (envelope-from ) for ; Sat, 14 Jan 2023 14:22:14 +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 ECnUKYaswmMLGAEA9RJhRA (envelope-from ) for ; Sat, 14 Jan 2023 14:22:14 +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 5F44D31997 for ; Sat, 14 Jan 2023 14:22:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGgTp-0004DM-Hv; Sat, 14 Jan 2023 08:21:53 -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 1pGgTn-0004D2-Sm for emacs-orgmode@gnu.org; Sat, 14 Jan 2023 08:21:51 -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 1pGgTl-0002z7-Js for emacs-orgmode@gnu.org; Sat, 14 Jan 2023 08:21:51 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 92E31240164 for ; Sat, 14 Jan 2023 14:21:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673702507; bh=g8EOKqBXgW1cSHfZjSMdfRa6yOWXjrpsDfWhCdXHMmA=; h=From:To:Cc:Subject:Date:From; b=VWruzf9rpNZvZ5hpSrza7OUc0i6731rx3HZ7wwomtl5TRayHzL5egXbV4bdBZjDb5 IbS/cdhpdb3OXOz2lSRbrPbmXf1SBWr6Ml3+7dX1RiD7nu2meW+Mz+5dSBublQXaRC WBnGCmgmt59N4WI6FC9IPJ+qXJPXfy+E9ntocVNl1XmgIFiQpdtKpTk2ztFhlk9gtY 9lPZJlLcBoO7e1x206LsqqufFealDR8/uHrNikDI09hgm7A0Jg6FUmhTSu4ak8nDHd obDFVSJtOJfemBHKiratnRsZL0RCXz9bna1VJndtwSYBZ81p45iWZ4KUalTVfqMF7k hPy4bjEnq7DXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NvJpZ6HSlz9rxk; Sat, 14 Jan 2023 14:21:42 +0100 (CET) From: Ihor Radchenko To: Tim Cross Cc: Daryl Manning , emacs-orgmode@gnu.org Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda In-Reply-To: <63c2aa9e.170a0220.3bb49.9ef4@mx.google.com> References: <86zgamtv6o.fsf@gmail.com> <87tu0t1i0c.fsf@localhost> <63c2aa9e.170a0220.3bb49.9ef4@mx.google.com> Date: Sat, 14 Jan 2023 13:22:13 +0000 Message-ID: <87pmbhz1x6.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=VWruzf9r; 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=1673702534; a=rsa-sha256; cv=none; b=pVL5kWQYshVOeNX9cjijocga4TnyAIuy1TJuh1W0H5kSyr29Qep9mQiOezGNXObjmwAdp2 NyokVES49wFUqzzsxqw/9PiqjcpJ/j3coWYDOqAlNZDRwz+7zlhBk4ZLc8/Ye6G27R6GCA 1GaBAfcCZfSvPMN+uwYuhoqmGU2LAlf9D7dmsGA5f7to3f9oUWbQIXg6uh80o8n6yrjvBv g3d1fimJUdCk50Uquhcs+Zc/Uhr5YrA8TXwXIHzIlkFbmguN9x2bM3jsAULxUXdyejArj/ /0YPpsmMkD1VewRu2JWBBvccjlgKeSvZjTALSDOku31uTatvTqZXCNl7lZ8+Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673702534; 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=xYQW15qEBQHDKtxeqPwfBLnrpuvBQxprtPSmgnrwrU4=; b=EUX2J0wETXRSgnVSVb8hqi5Gg0J2RiS/e8ynFrv72R3aOWlT2was1QnaRw9+U3gMvOG9LO jhUJ5VKK0DYa5oxuDWopFbog+27ahD2iVb6Xsqoqg3a6KO9LyY7DypL9/b91sbxlm3NPi6 CPVSeLO0qyeeoLfz7z8qfSNPePPixC5DwDogU+T910X9pDG135oGdz14bEsn8ZxFKgOG8I E6ptn/Qt19y8sWr1RSXOi7TkWaywV2WPz/mFXQkKujAhgfikdOoU2ywi7bQsGWOQsEUxxc 4qcDWbckX9iHDpSmKZeKF2E8NJ+oaMbIAmwQKI5jcbiXBmz4OGxXMy107Hw0tw== X-Migadu-Queue-Id: 5F44D31997 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VWruzf9r; 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.15 X-Spam-Score: -11.15 X-TUID: ZiJ+EFiX+5vG Tim Cross writes: > Consider for example an agenda file where the TODO items have been added > while I am here in Australia (currently +11:00 w/ DST). Tomorrow I fly > to Europe where I will be working for the next 6 weeks. I need all my > TODOs with active timestamps to be updated to Berlin's TZ. How does this > work? 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. The timestamps that should be tied to specific time zone will specify that required time zone and will thus remain functional. > The representation of the timestamps is the easy part. It is the > management, display, calculations, etc where the complications > arise. From looking at the supported time related functions in Emacs, > while most of the key ones do have support for passing in time zone > data, there seems little (if any) code to support the lookup and > retrieval of time zone data - in particular, ability to lookup time zone > data for a specific date, not just a location. But why do we need any time zone data? All we need to converting from and to internal Emacs' time representation supplying the correct time zone to it. Or are you trying to get an agenda where you plan to change the time zone in the middle? That's indeed a tricky problem, but it is even solved by any existing calendar app? Do we need to solve it? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at