From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SJEQNG1QaGBuNQEAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 13:24:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yPzuLW1QaGDHCwAA1q6Kng (envelope-from ) for ; Sat, 03 Apr 2021 11:24: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 BE0F61954C for ; Sat, 3 Apr 2021 13:24:28 +0200 (CEST) Received: from localhost ([::1]:39726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSeOB-0000qS-S4 for larch@yhetil.org; Sat, 03 Apr 2021 07:24:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSeNX-0000oL-0u for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 07:23:47 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.217.159.240]:36056 helo=saffron-cyhyraeth.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSeNV-0000HB-3f for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 07:23:46 -0400 Received: from happy-ceasg.authn-relay.a.mail.umich.edu (ip-10-0-72-126.us-east-2.compute.internal [10.0.72.126]) by saffron-cyhyraeth.relay-egress.a.mail.umich.edu with ESMTPS id 6068503C.7B7B3.5A57FFD0.157510; Sat, 03 Apr 2021 07:23:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1617449019; bh=ESbkpsV7cnri90tRS8lVWvSt7Fqxm9pgYljhfSeaNSw=; h=From:To:cc:Subject:In-reply-to:Date; b=R40UAht/0wyFteyQ7L99QKGSAlpCDX56ECJoCy/+K2ym7wV8NveHRcQKna2w1OfgE i4PgYt1N8XcApTOodVJyWYIY1Qchby7H7TCO/SpBSjb1t25L1hKKRxFyCWcM0Oa8MR b90yVMj6rlyc6tZ9wNMSIE4+6ptxhCQVSfPbW+WpArSRo6u0fbb3vkVI14GAOUMV2d 7aFxU7R8mrgXkBjuQLPo1kbkJZZDgUQDAz2pe87FZnXpwnrX7PKbzO8Wniu8+JDZ6u 8CwZh0rk+q4eNZ4XIOUzycy+DbhucLWlPx0Bw9Nvr7dwbr9CUHGjzkKTstp6ww9gfI OGiPZCMvOeM5w== Received: from localhost (Mismatch [88.253.115.125]) by happy-ceasg.authn-relay.a.mail.umich.edu with ESMTPSA id 6068503A.92934.571028A3.4085291; Sat, 03 Apr 2021 07:23:39 -0400 From: Greg Minshall To: Shironeko Subject: Re: Idea for handling timezones In-reply-to: Your message of "Sat, 03 Apr 2021 17:26:43 +0800." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <647186.1617449014.1@apollo2.minshall.org> Content-Transfer-Encoding: quoted-printable Date: Sat, 03 Apr 2021 14:23:34 +0300 Message-ID: <647187.1617449014@apollo2.minshall.org> Received-SPF: pass client-ip=18.217.159.240; envelope-from=minshall@umich.edu; helo=saffron-cyhyraeth.relay-egress.a.mail.umich.edu 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: tomas@tuxteam.de, 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=1617449069; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ESbkpsV7cnri90tRS8lVWvSt7Fqxm9pgYljhfSeaNSw=; b=qK3xuY8JUMlxK/RGxVL15GaLeUb0gaLkrPEqsozMb85TN3C+TY020RlZ5SS8fgELPKLLkN 9LBEgjMNShcKjUanN06eeCp1owPVxR4xyz326+eRo/z5qewM7+7yM4RGfpqZ+jgBVkTQ57 GDhKeS0K2aBDGSK2aXfTlXKukxO6uz9trQwlhZrQyQLIlDWjZk95WBiSfmt2zgvAXT4mOK LH0tqfbQLkT0+jRrwpZl0CN+sRgen/7IucVCphpvVIZBZcmD9meEwNMrmodZ9k6D2KgdQo wC37J+qvhZVnTRcZBNAU8UkNXtdnf9K+Dzejo6wTOQ4sHOnTAttgVrUnjKky7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617449069; a=rsa-sha256; cv=none; b=DzTmZvCAuh7pdS0MhxT38EN7GEOY6TFBA7303EeUk0YB9bTNyzTr49XN5rJ3TY9UKpUQ68 oV5GJsuirmsk0KoXhpVEOPNBnZwgLYvNSnuhqPo7TZ2ZqXDQq/8bVsVrXnba9+HhIMzO5B RNUq+utUWOXmTMAXtw9U3TrFmoKwFZRWwAd56Kqwc2l5EIeTgRCq8x9Q4FVjBfg1+MR7Nr uB5mS5ll4elqymFUzhAZISPOrATisW2pXkDO1pk64TZrQcwF8rka6vDso0EBgwam0Q4vq8 rGEHqWy5ayDDB4q3y+L6ahV7SjPyhLUsafC0YfJaT+r1/ywemqbEBFT3j//2Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="R40UAht/"; dmarc=pass (policy=none) header.from=umich.edu; 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.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="R40UAht/"; dmarc=pass (policy=none) header.from=umich.edu; 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: BE0F61954C X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4IK0OfY903eu hi, Shiro, > With this, say the user have > = > #+TIMEZONE: America/Toronto > = > at the start of their org file, and they moved to Shanghai, all the time= stamp in > the org file is converted using something equivalent to > = > $ TZ=3DAsia/Shanghai date --date=3D'TZ=3D"America/Toronto" '"$TIMESTAMP" > = > and the file header changed to > = > #+TIMEZONE: Asia/Shanghai > = > when they get back the timestamp is returned with > $ TZ=3DAmerica/Toronto date --date=3D'TZ=3D"Asia/Shanghai" '"$TIMESTAMP" i can imagine buffer-wide time zone settings, especially if one has multiple .org files, could become hard to manage. i don't know the issues with evolving towards a syntax where time zone information is embedded in time stamps themselves, but i wonder if that might be more manageable. i *can* imagine that if needed, one might do one's own hack, such as your suggestion, while that evolution progresses. in particular, issues about entering, and displaying, time stamps, which need to be solved in either case, could then be tackled. i would think. cheers, Greg