From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cH7lErkfaGDH2QAAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 09:56:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gCXLDLkfaGDXIwAAbx9fmQ (envelope-from ) for ; Sat, 03 Apr 2021 07:56:41 +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 7C0B3146F1 for ; Sat, 3 Apr 2021 09:56:40 +0200 (CEST) Received: from localhost ([::1]:47140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSb93-00063O-QS for larch@yhetil.org; Sat, 03 Apr 2021 03:56:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSb8f-00063F-Va for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 03:56:13 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:39729) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1lSb8d-00077k-5o for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 03:56:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=UBfESk2rNXQIem5MZodZ0/pRPwXRxx8Yc8bsDbZLoUI=; b=Ux9uev16e2Kh2uCrke5FXEdCWP77vdsi5sU3tmoKAxvSo/2bW9NEJ1kz/YAwkkOosZl4n80B0cebR4Sw3MvQIW2zKr6EgyzDG35v2Iydb/BYqxkmynoZEDEcS7ZuwWgKPExXeohLs4N1QTlUUy3TLtt6P+G4/p703jCiz1uNHiWzhUIT1AeqMS5JeVyoYYORswlHj9gsUCKS/MRzmXH/kMBkd2Z6ZKGKtE1HCzUJzZ0+XEAxAHMkjZdUWTSPtd6S1ALAFxoJwGBDIbrFW+dUTlFBG+HXq5tjIfj9B6tqrkPCEN85GQd297FYsS7seXz1QFRQCHgHBTFq6nnIHp1rcQ==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1lSb8a-0005ZL-Ft; Sat, 03 Apr 2021 09:56:08 +0200 Date: Sat, 3 Apr 2021 09:56:08 +0200 From: tomas@tuxteam.de To: Shironeko Subject: Re: Idea for handling timezones Message-ID: <20210403075608.GA19516@tuxteam.de> References: <20210402113434.GB16839@tuxteam.de> <47bc203d8a8facda27c59c363319ae195d643dba.camel@tesaguri.club> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <47bc203d8a8facda27c59c363319ae195d643dba.camel@tesaguri.club> User-Agent: Mutt/1.5.21 (2010-09-15) 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: , 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=1617436600; 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=UBfESk2rNXQIem5MZodZ0/pRPwXRxx8Yc8bsDbZLoUI=; b=ec1UvdznxVd30zJEkQ2slN7P7Rw8m5Mmj46T5xU9Mw2u7G9A0J1EIb3KFxxmgpGnBBCMCx jIAECRTkwfI+OYnYNUXPFcFCm9H5fu2Aylrc87au/hAjoyP3p0G6cLLJ8Bf0O/YJfpST3g ZylqAZMqfFWmWDh/s+aDYoF/AJ6pWcxhRecH9hiKgIDg9XrC0tH0KXS/9vwhYgy5h9zzww WkdukIf2r5vswJaahk3AGRs7wuzN8HmvIJMW63YuNqHminX6jllWTHIPk4es89tDRazYKB rV9QR73xQ5SidoGM5GOOx++8DsB+js/HCZXZbw9GHwlV0limUb4svuGEuTqRfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617436600; a=rsa-sha256; cv=none; b=F939WsPWtGaSTR7NI8imG5pBlEg+AZ4XRKVd6Jj0cl1Q+MX+QnUTYWsAJaQCcTiqtmNGjU Zy/19VMX23asiwOpGb5VQEhBs/fv72Pfk/oraZvCki6h1oce6DbBvWK5wkO3zy4bfvi+Cs p8ct3N8l9MQXBI3W1q8SN+kaQV7fbtazecLH2BhJAMQ5A3O+/brl0GtHtya2PjyWConLYa wYJQA699fQgA7H9QBVrnpGYs/QqKNGIzvoT1vH8NxpznfgXxgdrTdf1sT2+cqblW7sLVcv hVEkR0IV+VHmsY6XZfQDEGQFa0vVSBXb7gRbbE8q1JeSRHaWzlvUFx53IinSHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=Ux9uev16; 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-Spam-Score: -4.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=Ux9uev16; 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: 7C0B3146F1 X-Spam-Score: -4.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: 91SP4ilzZ2w7 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 03, 2021 at 08:36:06AM +0800, Shironeko wrote: > 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 prope= rty > > 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 >=20 > There are separate hacks for that, see > https://emacs.stackexchange.com/questions/13463/specify-timezone-in-org-d= ate-format Thanks for the pointer [1]. Yes, Org is a bit scared to touch time format, and in a way, I do understand that. I'm unhappy myself with Org timestamps, but given how conflict-laden the topic is, I opted for keeping my local hacks and dealing with some fallout on version changes. Not optimal, but I haven't better ideas myself currently. > > Switching "the whole file" to reflect the "current" timezone [...] > This is why timezones need to be specified in the tz database format, it = does > all the right things and makes sure the converted timestamp corresponds t= o the > same instant.=20 I don't understand what you mean by "the tz database format" in this context. What I meant is the '%z' information (e.g. -0400) instead of (or in addition to) the '%Z' one (e.g. EDT), in the sense of `format-time-string'. But perhaps we mean the same. > > Of course, convincing Org to extend the timestamp format and regexps > > might be a tough call :-) >=20 > This is exactly the problem I'm trying to avoid. Yes, I get the "design tension" there. I don't have better ideas. A greater flexibility in timestamp representation would have seduced me; a file-global setting... not so much. Still, I wish you good luck :-) Cheers [1] BTW I hate SX. Theycl've come up with yet another of those cookie tortures to take revenge on the users for some mild privacy protection laws. Of course I don't want any cookies. You @#&$s don't even have to ask: you @#*&%$ can infer that from the fact that my browser doesn't accept cookies in the first place! You so-called web programmers manage to elicit feelings in me I'm less-than-proud of. - t --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmBoH5gACgkQBcgs9XrR2kbVbQCfeZn0SEouIGwANT8Xb0XW13Uk AaoAn315Wu1Phk2x976nAo5Dqw1iD/BD =YkU+ -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--