From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 05KvNHwBZ2DDaAEAgWs5BA (envelope-from ) for ; Fri, 02 Apr 2021 13:35:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2EWWLXwBZ2BnGwAA1q6Kng (envelope-from ) for ; Fri, 02 Apr 2021 11:35:24 +0000 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 EAD4F19D2B for ; Fri, 2 Apr 2021 13:35:23 +0200 (CEST) Received: from localhost ([::1]:57234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSI5C-0006vK-B7 for larch@yhetil.org; Fri, 02 Apr 2021 07:35:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSI4g-0006vA-N7 for emacs-orgmode@gnu.org; Fri, 02 Apr 2021 07:34:51 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:37224) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1lSI4a-0002xb-DK for emacs-orgmode@gnu.org; Fri, 02 Apr 2021 07:34:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=gCf3pvPkpTrIWaT3Nl2ka2UoC9fI/vOxu5KeryirYMk=; b=TJqPw83UePYdQenh/f0Az4JcG5whyP02z9LW7OCaYcCrgJBUHRXxSspzFJd6ni8lLNoLLL8cl0FTl8/clNmDfKEkPiU6iZmY8MPMSHYe0IsZgLozYHPLgR0v/uDJeQ4PB+KjElwbAuHwfpZnHfqymNUWXWTcDZ90vQ1GVPsRxNY+rUvDbn9m22oHD2Tn94cjEQ7OZvmn7kA1F+3A5iUPBHALJ6BOrBtsuSf8gr8sFoztnMs7Jz0oxZ5vyEy7+JO6xcjTZetAeaASCXZ4B+wMTDcabErnu3lDffTgPlUlSHrkmsBLrbHlERxNibxMMss8c18LFfFW1M0hGA08IS69RA==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1lSI4Q-0007hu-IJ for emacs-orgmode@gnu.org; Fri, 02 Apr 2021 13:34:34 +0200 Date: Fri, 2 Apr 2021 13:34:34 +0200 To: emacs-orgmode@gnu.org Subject: Re: Idea for handling timezones Message-ID: <20210402113434.GB16839@tuxteam.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, 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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617363324; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=gCf3pvPkpTrIWaT3Nl2ka2UoC9fI/vOxu5KeryirYMk=; b=KvpfvTX2S4cwEtmMyMW8bEovUJpxm1r5XrzBUSiOdSxS5jCAqv3S71pQbxdC0xBKXM3tJI 9ldqSyOOAln2Fy7Orn/2zbz8qWUh8bxX8RopfsTwdsfGykvpsqnZ6cGQzB1hmAbhSxDQDI n+vaf2UcrKfbBVYM12Uqy2P5KEnrLj6myDPVYopC1jufPNCtJcQKLvNw5XYxApFfS1x7Dz FuiucHVTDYJKDNu7rJTHFWNckrUjYDSNI+2bnXbyXhC3jzWGZFYzNCkiZzgKPZL3Qz5qxq qxBogoPzJCPd4ZZR/dZr4m3Ufvehd/dH2m+aAYutMoYFzy++ygtxhl0+Hogzfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617363324; a=rsa-sha256; cv=none; b=FyaQ4iy3K+Ox6nZ+aME/DrT4FD552GjIGLUU9wcAWCiebjuTdGGh1TuNmPrH9KekhjtAPy 2Mxz7ZSaBwLE/CTakpXnaKaglb0db/U+Sn+X5JOqcTBxL75aNkb8jps7NREE4dnrwCH8DJ 3EGAuf2ycqDLwicVqPT5ZEroheXbnpgeDANhDNg747xx4XGssbjgi64re9HRYofYHAdDrw dQPwSY7lMV6mxS3hqqHcNhII7wQdvHlB9eS8wvY2AxvLtV1G9eIqZWeT2lzGeq1ydoimqt DJeGVFyhySjS532NfIvzX52o0w4EaFhgPMZ+WpbDwwmdyaETi+zErrgb+rw/QQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=TJqPw83U; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=TJqPw83U; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: EAD4F19D2B X-Spam-Score: -3.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7aR4YIw0tQxO --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 01, 2021 at 07:40:47AM +0000, shironeko wrote: > Hi everyone, >=20 > I, like many others on this list, have to move between timezones quite > frequently. As I gathered from the archive, it seems the main complexity = in > supporting timezones is the difficulty revolving the change of timestamp = format. > So I have an idea, suppose we add a new keyword, "TIMEZONE" that can be s= et at > the start of the file like so >=20 > #+TIMEZONE: America/Toronto >=20 > This specifies the timezone of all timestamps in the file [...] Hm. Just a mumbling from the peanut gallery: isn't the timezone a property of the timestamp itself? Specifying the timezone for the whole file is progress, but imagine the following scenario: I have a big file which is more or less a diary of things which happened, with lots of timestamps thrown in (also LOGBOOK entries). If I move through timezones, only some of the timestamps are "elsewhere". Switching "the whole file" to reflect the "current" timezone feels somehow wrong to me (which timezone a specific timestamp "happened" in has also some documentary value, after all). To keep things unambiguous, more than just the timezone must be kept. The current time offset is necessary to actually reconstruct the time (DST and such things). Of course, convincing Org to extend the timestamp format and regexps might be a tough call :-) Cheers - t --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmBnAUoACgkQBcgs9XrR2kbKjQCfe5AMoimCtM9X4fxHq36tgPjq +40AniGtQjp90/l9g41TziNLPDKRSZtU =RsVR -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU--