From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 wEbdArs1xWNSKAEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 12:32:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8HPpArs1xWNLawAAauVa8A (envelope-from ) for ; Mon, 16 Jan 2023 12:32:11 +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 AC7BDB09D for ; Mon, 16 Jan 2023 12:32:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHNiH-0007Fr-Le; Mon, 16 Jan 2023 06:31:42 -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 1pHNiE-0007DG-Bi for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 06:31:38 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHNiC-0000Ps-73 for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 06:31:38 -0500 Received: by mail-wm1-x32e.google.com with SMTP id f12-20020a7bc8cc000000b003daf6b2f9b9so2409438wml.3 for ; Mon, 16 Jan 2023 03:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wakatara.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mxxBz4rR58OVXLsdt3027qrGOOfPyGzmpa+c6VG51ug=; b=ucq1CPjd97a8ohQMEOn4ylhHUYmYs38IvQntvND9edgpB2yE1P5Jo7uU2homUgrOTN THhyJ7FPYk0MfOTuykhFRqcJ/TtE5exoOCK6klAteNDZKbQCI6qo1004zhTjGP3NTAAZ NpsDLDvBqvOmj6z5oHIWqg0d+TNZ4L3cAYyKyF6FML1xPT1TvPHuuGD3uqUordxblYUf LOmLvdEMCqaDQfz0fnopE86eXnthvyODcanlfNba+kvx8eM1ylA6mJRPs/7KahCStHkk jcI67tNci3NsNzXnuKM0hKLmrB9lrzkd13zloq6EiZf/olSwfvevMT6t/e8J73J5rBpW WyUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mxxBz4rR58OVXLsdt3027qrGOOfPyGzmpa+c6VG51ug=; b=8G1y+T131lGabZe0G9kPLHEqFKmbU53RDuayRhxuT+WOtbVsi/PbsEPeBcL0Bd+mrQ S6rP+hWSAynJwwA2c+qPWlWTmViT0kDbFMed7wGmaaunEZYKXrW/GNuWYCRMMPJGj9e6 Dtv+imrMgjsJPiQ2rJXq/7zNMZEBXMKrM31yRV1FeWWbh7PoxURN6P65b1s2fZwPzS/Y JzSBlXLSF2y9fQPWnD9WSAoQUlwyPr1qyG8d3dfUj3lUGGJvRtJs7olgvLuaq2xXF5RO x1p6t3IDd7eJSiWxXa6X8qLuo9dmcSy40mK28kXjcoaA01xtzVoilv54aV8iK4Uki5dv cbVw== X-Gm-Message-State: AFqh2ko5ozbPtbcBS7Y7jC+fh3UDNpCRwYW4lFgB4/WmGu7oI72Jf/y8 HXZY1El8HcTtgAHEd+kPw6cNNk1XVCUbR8/Njja38rEGYqbzfHNE X-Google-Smtp-Source: AMrXdXsRmTSfWrZVLdBE+2e0HxG3jdzQRZyjjazAtR9Ye+Y37g34Nm5jnNAB8dYIibLsbObNTsbvhCuJ4OLP62Egx2c= X-Received: by 2002:a05:600c:3106:b0:3da:b66:5ade with SMTP id g6-20020a05600c310600b003da0b665ademr954810wmo.157.1673868693866; Mon, 16 Jan 2023 03:31:33 -0800 (PST) MIME-Version: 1.0 References: <86zgamtv6o.fsf@gmail.com> <87tu0t1i0c.fsf@localhost> <63c2aa9e.170a0220.3bb49.9ef4@mx.google.com> <87pmbhz1x6.fsf@localhost> <87wn5mlo7f.fsf@localhost> In-Reply-To: <87wn5mlo7f.fsf@localhost> From: Daryl Manning Date: Mon, 16 Jan 2023 18:30:57 +0700 Message-ID: Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000e61eda05f25fece4" Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=daryl@wakatara.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=wakatara.com header.s=google header.b=ucq1CPjd; 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-Seal: i=1; s=key1; d=yhetil.org; t=1673868730; a=rsa-sha256; cv=none; b=DR8Eos+Yd5b6L+shToN42TWTQdzi9KZQJlCD3WmNXdKLkWUnliPzrc3WfSvACFMgkuoIJZ OnDuaCillUoix1QdeVWq8prpxv6/PtFVZTAhpHPpyMVAcS4qQDmPlBvZ+RVSwfXqCs+TYn /nDFrInq5uWM8Sm7JS1V0Pd4+6RAurL602YjZEjqd8NeJsLoxVgGBMUM+nm4D1OvGb71dL TtsYijB3NBOOBTwVk96t1Jv5ga6bzyEfM8n7/5aTz4tJFxlQyMSGLmXcEswdgQuagXHPbE 5cjuMfDmNcKpL5sEni/QgFaOceuF5EY2Vc4CLmh2W5v3IxjjYad/XFhdMPEkuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673868730; 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=mxxBz4rR58OVXLsdt3027qrGOOfPyGzmpa+c6VG51ug=; b=HA3JVdx3zvhmcw9C44anp4LW4JNiAYRkdpLO+GC6TW30tEqancVU4zejdssFiznjsopA5b lNfJVT6lPBqUdXWCtNlMOHKYX5G7PCEZFxDWjob6I7p/0GLw9z4YjSWmLirZkV/SIWhDRo g26yBjalI/XCt2hYqFGvWb0jKCN4jwA+9OwHha/9FQ61YcXOhTkVNJ/mZ8TUJ8n5xr0ily nHmSbmsNOy7UARpJ5UWp+KSzru1fu2sJYgPfiCKthtoqeVrt+GAhbcFsVXMejhfgnlin/e x+1WzqSMPiyRnlXThm8LIn68lYNbejIwPH0adqy3oPbEg1kfnnBIOYb9IXan4g== X-Migadu-Queue-Id: AC7BDB09D X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wakatara.com header.s=google header.b=ucq1CPjd; 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-Migadu-Spam-Score: -9.02 X-Spam-Score: -9.02 X-TUID: Tu9k6riWbyIo --000000000000e61eda05f25fece4 Content-Type: text/plain; charset="UTF-8" I think timezone you're in should be declared globally, surely? And then defined in the timestamp? The use cases for per file or even per-heading tz specifying seems very low imho (and introducing a lot more complexity.). Daryl. On Mon, Jan 16, 2023 at 6:20 PM Ihor Radchenko wrote: > Jean Louis writes: > > > * Ihor Radchenko [2023-01-14 16:23]: > >> 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. > > > > When Org file is very personal and location centric, then there is no > > need for it. > > > > When Org file has assigned, shared tasks, and is related to other > > people in various locations over the world, then it becomes important. > > Sorry, I think you misunderstood what I am saying here. > > I was referring to a need for Org code to retrieve some kind of > timezone-specific data other than converting timestamps with time zone to > and back from the internal time representation. > > In another message, I also mentioned an idea of specifying time zone > globally or per file. Other suggestion was per-heading specification. In > addition to time zone being specified directly inside the timestamp. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --000000000000e61eda05f25fece4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think timezone you're in should be declared glo= bally, surely?=C2=A0 And then defined in the timestamp?

The use cases for per file or even per-heading tz specifying seems ve= ry low imho (and introducing a lot more complexity.).

Daryl.

On Mon, Jan 16, 2023 at 6:20 PM Ihor Radchenko <= ;yantar92@posteo.net> wrote:<= br>
Jean Louis <b= ugs@gnu.support> writes:

> * Ihor Radchenko <yantar92@posteo.net> [2023-01-14 16:23]:
>> But why do we need any time zone data? All we need to converting f= rom
>> and to internal Emacs' time representation supplying the corre= ct time
>> zone to it.
>
> When Org file is very personal and location centric, then there is no<= br> > need for it.
>
> When Org file has assigned, shared tasks, and is related to other
> people in various locations over the world, then it becomes important.=

Sorry, I think you misunderstood what I am saying here.

I was referring to a need for Org code to retrieve some kind of
timezone-specific data other than converting timestamps with time zone to and back from the internal time representation.

In another message, I also mentioned an idea of specifying time zone
globally or per file. Other suggestion was per-heading specification. In addition to time zone being specified directly inside the timestamp.

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--000000000000e61eda05f25fece4--