Re: [Emailcore] Time zones

Russ Allbery <eagle@eyrie.org> Fri, 05 August 2022 17:59 UTC

Return-Path: <eagle@eyrie.org>
X-Original-To: emailcore@ietfa.amsl.com
Delivered-To: emailcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67147C1907B1 for <emailcore@ietfa.amsl.com>; Fri, 5 Aug 2022 10:59:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s-o-S8qzfqgb for <emailcore@ietfa.amsl.com>; Fri, 5 Aug 2022 10:59:39 -0700 (PDT)
Received: from haven.eyrie.org (haven.eyrie.org [IPv6:2001:470:30:84:e276:63ff:fe62:3539]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 820E2C1907AD for <emailcore@ietf.org>; Fri, 5 Aug 2022 10:59:39 -0700 (PDT)
Received: from lothlorien.eyrie.org (96-90-234-101-static.hfc.comcastbusiness.net [96.90.234.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by haven.eyrie.org (Postfix) with ESMTPS id A5BE1118600; Fri, 5 Aug 2022 10:59:37 -0700 (PDT)
Received: by lothlorien.eyrie.org (Postfix, from userid 1000) id 09EFEB41D32; Fri, 5 Aug 2022 10:59:35 -0700 (PDT)
From: Russ Allbery <eagle@eyrie.org>
To: John C Klensin <john-ietf@jck.com>
Cc: Julien ÉLIE <julien@trigofacile.com>, emailcore@ietf.org
In-Reply-To: <17BB0479BF8EC86D09D8774D@PSB> (John C. Klensin's message of "Fri, 05 Aug 2022 13:25:18 -0400")
Organization: The Eyrie
References: <20220802031735.E29F746F2656@ary.qy> <305AE7DFC0554733F7C75AAD@PSB> <20220802231408.xOC-e%steffen@sdaoden.eu> <3e5240b4-12ad-0fa1-398a-659a074e46d7@wizmail.org> <20220803223222.OopI_%steffen@sdaoden.eu> <f2e46271-de99-20d4-68ea-a33f560f11d6@trigofacile.com> <8A3BAF234B4580D591240172@PSB> <87pmhf246q.fsf@hope.eyrie.org> <17BB0479BF8EC86D09D8774D@PSB>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Date: Fri, 05 Aug 2022 10:59:35 -0700
Message-ID: <87fsia606w.fsf@hope.eyrie.org>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/1r1_mSSwSFw48C967X9v_zMG-_c>
Subject: Re: [Emailcore] Time zones
X-BeenThere: emailcore@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: EMAILCORE proposed working group list <emailcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emailcore>, <mailto:emailcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emailcore/>
List-Post: <mailto:emailcore@ietf.org>
List-Help: <mailto:emailcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emailcore>, <mailto:emailcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Aug 2022 17:59:43 -0000

John C Klensin <john-ietf@jck.com> writes:
> Russ Allbery <eagle@eyrie.org> wrote:

>> There are historic time zones that have offsets of non-integral
>> minutes, but generally these are attempts to represent local mean time
>> (LMT) from eras before standardized time zones and thus only involve
>> historic time stamps.  It's hard to see how these would be relevant to
>> the definition of the Date header in email (or netnews) messages.  I
>> think there may be a few areas of the world with relatively late
>> transitions from LMT, possibly as late as the 1970s in exceptional
>> cases (I cannot remember off-hand), but the overwhelming majority of
>> such zones only make sense for times prior to the invention of email.

> Well, the invention of email goes back to the mid-1960s, but I think the
> point is still clear.

My understanding is that nearly all of the world switched off of LMT in
the 1920s and 1930s.  I was wrong about the recency of the last case:
Nepal only switched off of LMT (with a UTC offset that included seconds)
in 1986.

So *arguably* a correct representation of an email message sent from Nepal
in 1985 would require a non-integral minute offset to represent the local
time zone.  In practice, this doesn't seem like something that the email
standards should worry about, as the only relevance I can think of
off-hand would be instructions for how to parse historic email archives
that might contain such a message, and I'm dubious that's how the message
would have been generated at the time.

>  (i) Use "-0000" and hope the recipient will figure out that it
> means UTC and no an odd way to write a zero offset.  They would
> face the small challenge of there being cases elsewhere of -0000
> being used with other semantics, so we would essentially want to
> say "whatever you have been using "-0000" for before, it means
> UTC and nothing but UTC".

>  (ii) Use "UT", hoping that the recipient (or other senders)
> will not still be using to to mean "GMT with summer time at
> right time of year" which might have been confusing, but valid,
> prior to RFC 5322 making it obsolete.

Ah, I see your point: UT makes it clearer that the sender was intending to
convey that the time was intentionally in UTC, whereas -0000 may be
confused with +0000 and thus attempting to convey a local time zone that
happens at the moment to coincide with UTC.

I can see the possibility of conveying an extra small amount of
information and agree that UT is clearer than -0000 in that sense.  I'm
personally dubious that it's worth reversing marking something as
obsolete.  If there were a theoretical implementation that chose not to
implement that part of the standard because it was marked as obsolete,
this feature doesn't seem compelling enough to warrant telling them that
they now need to add UT to their date parser.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>