From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WP32K8m4Z2BEEQAAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 02:37:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qC7gJcm4Z2AdeAAAB5/wlQ (envelope-from ) for ; Sat, 03 Apr 2021 00:37:29 +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 C62D2C7BB for ; Sat, 3 Apr 2021 02:37:28 +0200 (CEST) Received: from localhost ([::1]:45562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSUI2-0008DU-Nh for larch@yhetil.org; Fri, 02 Apr 2021 20:37:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSUGy-0008DN-RY for emacs-orgmode@gnu.org; Fri, 02 Apr 2021 20:36:20 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSUGu-0004ae-DQ for emacs-orgmode@gnu.org; Fri, 02 Apr 2021 20:36:20 -0400 X-Originating-IP: 61.149.237.132 Received: from [192.168.1.31] (unknown [61.149.237.132]) (Authenticated sender: shironeko@tesaguri.club) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 040551C0002; Sat, 3 Apr 2021 00:36:09 +0000 (UTC) Message-ID: <47bc203d8a8facda27c59c363319ae195d643dba.camel@tesaguri.club> Subject: Re: Idea for handling timezones From: Shironeko To: tomas@tuxteam.de In-Reply-To: <20210402113434.GB16839@tuxteam.de> References: <20210402113434.GB16839@tuxteam.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-lxyg2VaoGZrLMxk21L+8" Date: Sat, 03 Apr 2021 08:36:06 +0800 MIME-Version: 1.0 User-Agent: Evolution 3.38.4 Received-SPF: pass client-ip=217.70.183.197; envelope-from=shironeko@tesaguri.club; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: , Cc: emacs-orgmode@gnu.org 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=1617410248; 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; bh=Y9e6+dnZds9jngycQNCtsCW/c5vvYf6S6ePh42m1UiA=; b=t/jzCDf4F8VIWPwPJNnPcCXkVmpzR2dQVMvwmI8ZJEm/SsksZiXW+HKJuM9PmiFabbhZog gVk3GE/vqvndF73Y/q+19TDXuAUZ/BrWmgmSKls18qZRFgGKyZecdNUz7nHqIbA5d9CDu6 TCRFniMlBYS/8CsGiFUxR3Z84GUaKmB92B74Q8GVwB1TgWtrO8YAHRAoLVuU7FN0827vq/ elzR9R71n3TZqYltmzwmNlXl/98jOw5w6dKz1LLUSP97FM9hRQSAd7nfiNOOdfTLPxY6mx 2buJDkJA5TAxj6OpiAaDXSpsbLBFAObC7fNRBaVlsHcNZtfgeZjjRYlmk+PGOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617410248; a=rsa-sha256; cv=none; b=o2oMaNXkzyrDryCR1dJ2dBWoplE+UgLScOzcGBllDG82dXViwlJj7/uCjN5fkN8E1vtSj5 fdEt9IgHskl25p/9zss6ilYSpEJg7R0YGuIkDpWi/Z+8U60x6cVmjYX9XmM8yFh19VLHPF NkuQN9VO4MFSjCdDQl0pwvvV47S4GzncUikDXCruN0fKJ97t8o5llSttXD7cdT+Er7U5dt 4qZn17Uh4/cOxQ5Ua9Jr4QZpDjPsxojQsxY2AhleFqUkcsHheebaaEIyTbUuWA2f7dscGP 5ysl0U9AYWrMozADiktiHnZPgWkMBEzJ523nAij6vytciF1HtyyJJntnykGfxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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-Spam-Score: -4.53 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: C62D2C7BB X-Spam-Score: -4.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: QFq93l188FGK --=-lxyg2VaoGZrLMxk21L+8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2021-04-02 at 13:34 +0200, tomas@tuxteam.de wrote: > On Thu, Apr 01, 2021 at 07:40:47AM +0000, shironeko wrote: >=20 > Hm. Just a mumbling from the peanut gallery: isn't the timezone a propert= y > of the timestamp itself? >=20 > 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). >=20 > If I move through timezones, only some of the timestamps are "elsewhere". >=20 There are separate hacks for that, see https://emacs.stackexchange.com/questions/13463/specify-timezone-in-org-dat= e-format > Switching "the whole file" to reflect the "current" timezone feels someho= w > wrong to me (which timezone a specific timestamp "happened" in has also > some documentary value, after all). >=20 > 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). This is why timezones need to be specified in the tz database format, it do= es all the right things and makes sure the converted timestamp corresponds to = the same instant.=20 > Of course, convincing Org to extend the timestamp format and regexps > might be a tough call :-) This is exactly the problem I'm trying to avoid. Regards, shiro --=-lxyg2VaoGZrLMxk21L+8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTCkHM6IDImE32tNiWfTKWZ3AhEnQUCYGe4YgAKCRCfTKWZ3AhE nVl9AQCBU5OOPysq8yigQrPU5w4DhUesIDX4FiUUnxu5b6DMLgEAnRK/f+j51dZN qhmUqByslpmOlufft5k5xQEK7SMdQgM= =cirX -----END PGP SIGNATURE----- --=-lxyg2VaoGZrLMxk21L+8--