From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id INDFIc7nxGNd8QAAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 06:59:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wJK9Ic7nxGNxqQAA9RJhRA (envelope-from ) for ; Mon, 16 Jan 2023 06:59:42 +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 3A89C1CCB4 for ; Mon, 16 Jan 2023 06:59:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHIWD-0007Vu-H1; Mon, 16 Jan 2023 00:58:53 -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 1pHIWA-0007VW-TR for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 00:58:51 -0500 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHIW8-0004Op-Gj for emacs-orgmode@gnu.org; Mon, 16 Jan 2023 00:58:50 -0500 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-4e9adf3673aso31128397b3.10 for ; Sun, 15 Jan 2023 21:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GdlFhMTYSoHC25r8AjR2s5ai6sLAIxnnXEFl6goDpLA=; b=NUCA1CJztqmN/hR5LCBjD4V0ObeilB2CG7ptDt1tTftWR3KuSruBNePUuvlT6sK3S6 oTMOpiNJZx/Wplp/RrOEu4G+geydjuM3ASMQShQVtHj2/l2hmVIvP/rEjs9dQ6KBXP4f zT9uEoi5oMuefo3k62aN++sEfY+dVNDLDoKo5LoUbYp6QklLugXZ//oBlfJ4xRcppFMe TSSHVQWBlkL1H3mi1+zVi/rnPTIpaAcQIHXM9+xkBkExwe3PWhLT1kbUD0XPUtH7sAsJ xOKG+X+XxRAyUBFjENum9l0goWNckce71NsH1L2aoBRAYWiKY9oxfF4yW4x+sZTNG/O/ y6ZA== 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=GdlFhMTYSoHC25r8AjR2s5ai6sLAIxnnXEFl6goDpLA=; b=ZszOGBgSfZs1OTeChBEf5u4WkU4Udl3GxYMTGDU16GkS6j1QEOfb6vYFkqNyC3ULPA XekKdLSQc+jN/bejCesF3+OkRpq68nftY+deT7fro7Bs43i3G1kzMPBhEsGc0ImWK/l2 8ftTxVPRqMy/n02SNQH1S794GO/yFsVVDhpzEJBfCN/nazljD1Bi3aIBzFMLv5Rrfm// 609nLWWxU5e+SC0aqLfRW+/0cLwD+Ayn34DgrxF3aPej9ng8X9mXkB3nViBCthEUAW4n BhCEKquSCnK8meTMPHXcyFtZjeI5uF8lQJPCQsxjIlspGkECsvQlFOyKKsOrQTyLhnKw 7bUw== X-Gm-Message-State: AFqh2kqFnq1UdFlA9XtujzFAjSzkdsTBfMgX/MnsC7OjipPe6eN38pyx iMDQByZSDm83n4kdYe5NdcDijHZ3A4yZ212w1ol9d/oVUX0= X-Google-Smtp-Source: AMrXdXsJFEsLnhNWjdkfIEKQqz0yM07IoOgMFDi3P/K+jE2Ikrd2+W1xUZW8JDAbtugTWRZDjbFRvK6C4dA4zwttxT8= X-Received: by 2002:a81:4e90:0:b0:4dd:f443:9d3e with SMTP id c138-20020a814e90000000b004ddf4439d3emr1551317ywb.201.1673846420362; Sun, 15 Jan 2023 21:20:20 -0800 (PST) MIME-Version: 1.0 References: <63c30f34.650a0220.498b8.4573@mx.google.com> <87ilh7evsn.fsf@localhost> <63c46c0c.170a0220.bf97a.b73a@mx.google.com> In-Reply-To: <63c46c0c.170a0220.bf97a.b73a@mx.google.com> From: Tom Gillespie Date: Mon, 16 Jan 2023 00:20:08 -0500 Message-ID: Subject: Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda To: Tim Cross Cc: Ihor Radchenko , Max Nikulin , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::112d; envelope-from=tgbugs@gmail.com; helo=mail-yw1-x112d.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, FREEMAIL_FROM=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-Seal: i=1; s=key1; d=yhetil.org; t=1673848782; a=rsa-sha256; cv=none; b=hqmzaajmhc4DwNzNvf6wXEGlDomaaBdfLmymKGNZKLbgQnnA2tkYGmAr1kcEhzT+xlTzOo jGEqAViE93Ag4tPUJby8GrFBbeEmWqmtkS4vkx57dU0sjA8ca+yTsipkqbs5Mzxp920VSs XLCJMFsXsyrz4/Ri3CEfA0/2VNTyz2gpoNmgQ/erHZ0dQgQwnE5/31yjc5R6dc97d7G5AP JgFSRiciFB8JVjrI/+9f9JkXNMeeIZc8j+7MVEfRGfpXvXdupjoEKoifFi1ai4t9W9l/js 77gOu4ZIRwHmhML/XL7c12iD4pEJdzdsv0wsyjp+ES7IYA540702S7IQiMH6ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NUCA1CJz; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673848782; 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=GdlFhMTYSoHC25r8AjR2s5ai6sLAIxnnXEFl6goDpLA=; b=JmwVs8eaMqxeIoO4YFz6kFZHwu1zPshDW6zMA86J1pogbcHBr4saiUVTZdmQacECupFzEx G+xjTLQEXIy6OPpiE+adGp7dOU3FiKl3UvItS8CL8VprwTmNJTl7LHHi9GjhdXzQmIhT3e 85vDz3U8cuIfaw+zBamyxuzc9kIMSAPeYWGZ7alvrd+XmVQ30YZqCpvkwU1p54hj1oXCFl UZTwKDUAMCsCqywf+Lg1UV6OUo6F5J9P/GJ7VT87ATn7mzpEt1rU0wcB6Sb4QUS0aKYLen hiTtBrqcSNTZqg+z/qLSWSSnEqb1V0zT8YUNazpUW5BOFmq8oyeLX0pr9lKGbQ== X-Migadu-Spam-Score: -6.27 X-Spam-Score: -6.27 X-Migadu-Queue-Id: 3A89C1CCB4 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NUCA1CJz; 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=pass (policy=none) header.from=gmail.com X-TUID: +oqnLH9ZtJWo > So I guess the timestamp format and the code which manages them will > need the ability to use the full TZ name and not just the abbreviated > form (and I guess an option to allow the user to select). In fact, we > probably need a way to select between abbreviated/full dynamically as > well as you might use the different TZ types as a way to flag which > timestamps you want to adjust due to TZ changes (either in TZ db or in > user location) and those you don't want changed. I think the only sane way to do this is to require timezone abbreviations /expansions to be defined in the file itself and never in an init.el there is simply too much ambiguity and if the information is lost we are out of luck. Of course then the question comes whether we can use something like #+tzinfo: US/Central CT #+tzoff: CST -06:00 #+tzoff: CDT -05:00 I don't think it is wise to allow users to map #+tzinfo: US/Central CST because that will produce surprising and results when US/Central changes to DST. Ugh, what a mess.