Re: [saag] [art] Date formats: RFC3339 vs. RFC 5322
"Mark Baushke (ietf)" <mbaushke@gmail.com> Wed, 14 April 2021 20:53 UTC
Return-Path: <mbaushke@gmail.com>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 9AB4D3A1F71;
Wed, 14 Apr 2021 13:53:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5
tests=[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,
HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id ju1q213nyx45; Wed, 14 Apr 2021 13:53:49 -0700 (PDT)
Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com
[IPv6:2607:f8b0:4864:20::530])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id BEE853A1F6C;
Wed, 14 Apr 2021 13:53:49 -0700 (PDT)
Received: by mail-pg1-x530.google.com with SMTP id t140so15288451pgb.13;
Wed, 14 Apr 2021 13:53:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:mime-version:subject:in-reply-to:date:cc:message-id:references
:to; bh=QFEcil5S4UqL30TwixUvM+6zbG1Vo3amR/IKACBupo4=;
b=MwVzVd/76C2YJ4/tlspIH9yXcbWFsPVeeZZAEeVJWSLNfdSpOspiFWuAsQA1zB5qjS
TOHszxRP0FKw4eszX5udGsAw9osDq6+ODs1kMJ/LfwekE2qI8H8my/oZTmIKNLfVMZPB
O6XMefNzDX3wkPR2vMwJdz1N70HnYeDTTEIHOvZOTxG3BoS7PdptZtIzTe4ig7oQvRua
mQvjnNS8iE8DndJk2y7uV+8/AlUW9aiIMJdwRcvafrHeTWvs2VXC/GeyN3RXBbc//ni0
wECWCB/ir4x8lExCCbGJguifM2B092UJBoMiC6MW6LQ0BPvFxNIathGgZDdE8fzgRnp9
Iwgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:mime-version:subject:in-reply-to:date:cc
:message-id:references:to;
bh=QFEcil5S4UqL30TwixUvM+6zbG1Vo3amR/IKACBupo4=;
b=ZaTW/05HXwF3fwd2K8TQAd6Yv3PM+OvnB9mpdjYTOg/o44DF48M8g3oZl0zBsCIqZe
0YbpgsDfofUaGVzzmMvrUFkm7bXZQ4SS6kI6iXNrIfRUfjNwJaB9/1VrrxXqIL1M+Mxi
mYZoc+wTJR9elmjjl8edpe5P+VfY8KRN2pqE11oVMphS7g73MwaYLTKtMq/aSlVqMINS
qeaFAVmUHX4UeMq8XgHYcO3amfPnn5sK9jFkz/orA8YZfmL4+cTGfyDTFHrtbIdnxABD
Vlnzi20ddvV6AT+WvrLc1VRLVL6B/VaDNbgMiT3JJa6FOTM1X/PFRJax6X1fxmTpjvpc
b8hA==
X-Gm-Message-State: AOAM530P786bSqHc8pp9UqZUOpdzDNtY3mplFiqGtSpxX4/EubiQ2uVP
OdAmMoHr/dcmSa44Z+j4hbs=
X-Google-Smtp-Source: ABdhPJy4O95Lo8o41V/62BGDBMQ9YeYy4Wex1t6+Pum0/KDQGlUtEVcpDKeL5i0zslwbaKGvZ+EXiQ==
X-Received: by 2002:a63:531b:: with SMTP id h27mr163855pgb.395.1618433628254;
Wed, 14 Apr 2021 13:53:48 -0700 (PDT)
Received: from [192.168.2.122] (c-98-234-187-55.hsd1.ca.comcast.net.
[98.234.187.55])
by smtp.gmail.com with ESMTPSA id h8sm248938pjp.37.2021.04.14.13.53.47
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Wed, 14 Apr 2021 13:53:47 -0700 (PDT)
From: "Mark Baushke (ietf)" <mbaushke@gmail.com>
X-Google-Original-From: "Mark Baushke (ietf)" <mbaushke+ietf@gmail.com>
Content-Type: multipart/alternative;
boundary="Apple-Mail=_5D14A785-0156-4577-BEAD-D61EEC8A0977"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
In-Reply-To: <CAMm+LwiNGDMF9muA0p3uYALSiPFNEpZ5vrkyXRnUzqdBL02Jjw@mail.gmail.com>
Date: Wed, 14 Apr 2021 13:53:46 -0700
Cc: "General Area Review Team (gen-art@ietf.org)" <art@ietf.org>,
"Eliot Lear (elear)" <elear=40cisco.com@dmarc.ietf.org>,
IETF SAAG <saag@ietf.org>, Phillip Hallam-Baker <ietf@hallambaker.com>
Message-Id: <73A9FC4B-47DE-437F-9C90-BC0995B3E3C0@gmail.com>
References: <CAAyEnSMBdXCA0EvgR79P_1gi15pAPfeyu_HgGqgMjWxRP8sxKg@mail.gmail.com>
<C7B5DB45-F0A1-491C-AD4E-91F67C8C182E@cisco.com>
<B3D690C21848AF07EC92577F@PSB>
<CAMm+LwiNGDMF9muA0p3uYALSiPFNEpZ5vrkyXRnUzqdBL02Jjw@mail.gmail.com>
To: John C Klensin <john-ietf@jck.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/dHxUK138lGefB3f2NsMfW2zTy8A>
X-Mailman-Approved-At: Sat, 17 Apr 2021 16:32:40 -0700
Subject: Re: [saag] [art] Date formats: RFC3339 vs. RFC 5322
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>,
<mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>,
<mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Apr 2021 20:57:00 -0000
I am also going to +1 John's suggestion. ISO 8601 and Zulu time are highly desirable in new standards.
I will also ask how many digits are needed for sub-second precision.
The Precision Time Protocol (IEEE 1588-2019) gets to microsecond and possibly nanosecond range (to be fair, I have not read the 2019 additions).
Some of the Deep Space Network seems to express measurements with very fine grained values and small angles (11 nrad).
Although the ABNF in RFC 3339 hints at sub-second values, it does not actually use examples.
Twelve digits after the decimal point expresses pico seconds which is just silly and unrealistic at present, but micro seconds seem plausible in many contexts. If new standards are forward looking, then the expression should possibly be considered.
(I do not see a need to consider femto, atto, zepto, or yacto seconds at the present time.)
YYYY-MM-DDThh:mm:ss.nnnnnnnnnnnnZ
Fwiw: I agree that leap seconds is a pain.
Be safe, stay healthy,
-- Mark
> On Apr 14, 2021, at 12:36 PM, Phillip Hallam-Baker <ietf@hallambaker.com> wrote:
>
> I am also going to strongly +1 John here.
>
> At this point, the only question I would consider in a protocol is the choice of UTC or TAI.
>
> Unfortunately, the method of platform handling of UTC means that all date time values recorded in electronic documents are inherently ambiguous, a state of affairs that will persist until the cretinous notion of leap seconds is done away with.
>
>
>
>
>
> On Tue, Apr 13, 2021 at 4:06 PM John C Klensin <john-ietf@jck.com <mailto:john-ietf@jck.com>> wrote:
>
>
> --On Tuesday, April 13, 2021 19:00 +0000 "Eliot Lear (elear)"
> <elear=40cisco.com@dmarc.ietf.org <mailto:40cisco.com@dmarc.ietf.org>> wrote:
>
> > The question is whether you need something that is easy to
> > parse or something that is human readable and can be
> > localized. It SEEMs that this draft is intended to be human
> > readable, and so 5322 doesn't seem out of bounds.
>
> I suggest that even for reading by humans in 2021 --as distinct
> from 1982 (RFC 822) or 1977 (RFC 733, which used day-month-year
> ordering)-- the 5322 dates are not easy to understand and use...
> at least unless one is an English speaker on this side of the
> pond. It was quite wise at the time to spell out the month
> name, thereby eliminating the ambiguity associated with, e.g.,
> 5/10/1977, but still bad news for someone who might think the
> fourth month in the Gregorian calendar is, e.g., апреля,
> أبريل , or 四月.
>
> So I would argue that, for new protocols or data structures in
> this increasingly global/ international Internet, and even for
> elements visible to humans, sticking as close to ISO 8601 as
> possible (with minimal profiling) is the Right Thing to Do.
> Much too late now to change the 822/5322 format, turning
> supplemental protocols for email into a gray area, but, for new
> work, ISO 8601 formats are not just easier to parse but easier
> to understand globally and in an unambiguous way.
>
> Just my opinion, of course.
>
>
> john
>
> _______________________________________________
> art mailing list
> art@ietf.org <mailto:art@ietf.org>
> https://www.ietf.org/mailman/listinfo/art <https://www.ietf.org/mailman/listinfo/art>
> _______________________________________________
> saag mailing list
> saag@ietf.org
> https://www.ietf.org/mailman/listinfo/saag
- [saag] Date formats: RFC3339 vs. RFC 5322 Yakov Shafranovich
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Eliot Lear (elear)
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Tim Bray
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Nico Williams
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Nico Williams
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Paul Hoffman
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Nico Williams
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… John C Klensin
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Claudio Allocchio
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Randy Bush
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Ned Freed
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Michael Douglass
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Dave Crocker
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Stian Soiland-Reyes
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Peter Gutmann
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Alan DeKok
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Tony Finch
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… heather flanagan
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… tom petch
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Steve Allen
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… heather flanagan
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Phillip Hallam-Baker
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Benjamin Kaduk
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Stian Soiland-Reyes
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Phillip Hallam-Baker
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Henry Story
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Peter Gutmann
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Salz, Rich
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Tony Finch
- Re: [saag] Date formats: RFC3339 vs. RFC 5322 Carsten Bormann
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Steve Allen
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Phillip Hallam-Baker
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Mark Baushke (ietf)
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Carsten Bormann
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Metapolymath Majordomo
- Re: [saag] [art] Date formats: RFC3339 vs. RFC 53… Yakov Shafranovich