Re: [calsify] Fwd: New Timestamp Draft

Ned Freed <ned.freed@mrochek.com> Mon, 25 January 2021 04:22 UTC

Return-Path: <ned.freed@mrochek.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D94B03A0DEE for <calsify@ietfa.amsl.com>; Sun, 24 Jan 2021 20:22:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level:
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mrochek.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 mUqVd68UUc57 for <calsify@ietfa.amsl.com>; Sun, 24 Jan 2021 20:22:02 -0800 (PST)
Received: from plum.mrochek.com (plum.mrochek.com [172.95.64.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 27B023A0DED for <calsify@ietf.org>; Sun, 24 Jan 2021 20:22:02 -0800 (PST)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RURPK7P2N400D2SG@mauve.mrochek.com> for calsify@ietf.org; Sun, 24 Jan 2021 20:16:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1611548218; bh=yq319TlT2gaxWi5slrrdGrT7RS895xJlebilxH6+Ll0=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=bgUOuVTvdykIe9jovvAgW/iZX+lnL+yEEggsQp+IlG60z60XtGH/M3hGx7VU3fY4d eAFHD5+oo5Sxjc0waF1NozK1xwYJ3g/0Up+YNCnexbtvp//VpwmHk0itB3sbUYNUK6 ExDx+efJdiVC019+QvEE3hAMD4Zqpgoo9E7RsK0U=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RUAOXM63XS005PTU@mauve.mrochek.com>; Sun, 24 Jan 2021 20:16:56 -0800 (PST)
Cc: calsify@ietf.org
Message-id: <01RURPK5VO1U005PTU@mauve.mrochek.com>
Date: Sun, 24 Jan 2021 19:50:18 -0800
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Mon, 25 Jan 2021 12:18:28 +1100" <3288fdaf-28a9-45a9-bf50-c9de9e2c3486@dogfood.fastmail.com>
References: <5927c3a3-9539-553d-598a-18d8bdadb244@igalia.com> <c9a1caed-829a-2339-21c1-5f0970110863@igalia.com> <01RUQ0ZW4L3U005PTU@mauve.mrochek.com> <d17b75e7-9720-6bd3-dd23-349e8ceac4a3@gmail.com> <01RUQ4K8M1RQ005PTU@mauve.mrochek.com> <34839106-de11-41fe-96d6-33f95c30524d@dogfood.fastmail.com> <01RUQJ104Y3C005PTU@mauve.mrochek.com> <01RUQVLVFX6K005PTU@mauve.mrochek.com> <8f821d46-6cbd-4a11-8098-1d9bb3ac28e7@beta.fastmail.com> <3288fdaf-28a9-45a9-bf50-c9de9e2c3486@dogfood.fastmail.com>
To: Neil Jenkins <neilj@fastmailteam.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/4EIRw9ymcp1k8Tnxt2wx3c5fM7Q>
Subject: Re: [calsify] Fwd: New Timestamp Draft
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jan 2021 04:22:04 -0000

> I think the disagreement here stems from two viewpoints on what RFC3339 is.
> Ned is looking at it from the viewpoint that it defines a format for (log)
> timestamps only.

Not quite. I pointed out that RFC 3339 was and is used for timestamps in logs.
I never said, or even implied, that it doesn't have (many) other uses, either
by itself or in combination with other information.

However, the more important point, as you note below, is that RFC 3339
specifies a timestamp format. It's entirely self-contained, and aside from
allowing specification of a time zone offset, it provides no information about
presentation or anything else.

> The other side is viewing it as simply a standard serialisation format for
> dates in internet protocols without restriction on use case.

That may be true but I question the relevance. There are a myriad of use cases
for RFC 3339. There are also a myriad of use cases for RFC 3339 combined with
other information. I don't think anyone is claiming otherwise.

The issue here isn't that these other cases aren't worthy of consideration -
they are - it's that addressing them by changing the core semantics of a widely
used timestamp format isn't the right way to go about it.

> Having looked at the document's introduction again, Ned is technically
> correct:

>    There are many ways in which date and time values might appear in
>    Internet protocols:  this document focuses on just one common usage,
>    viz. timestamps for Internet protocol events

Exactly.

> However, I would assert that in my experience, many view RFC3339 as just a
> standardised serialisation format for all dates in contexts that go beyond
> this.

I don't know what this means. RFC 3339's semantics are clear, and the syntax
only allows for the expression of those semantics. If you "go beyond" those
semantics, you either have to extend the syntax, in which case you're not
talking about RFC 3339 format any more, or you have to create some sort of
grouping of RFC 3339 with additional information. In either case you have
extended RFC 339, and that's not a matter of how you view it.

> I think there is a clear demand for a serialisation format that *can*
> incorporate a time zone or calendar identifier, and standardising this within
> the IETF is more likely to lead to interoperability. I also agree that you
> would never want to use such a time-zone variant in log files.

OK... so it sounds to me like we're in agreement that RFC 3339's
semantics need to be retained. Good.

> So I think it comes down to two options:

>  * A single RFC that replaces 3339 containing all the variants. The benefit
>    is you have one place to reference for how to serialise a date-time.

Eliot already explained why this is a really bad idea.

>  * A new adjunct RFC for how to serialise date-times with IANA time zones, or
>    without an absolute time at all (local "wall clock" date-times).

A convention for this is already provided by RFC 3339, actually. Section 4.2.

>    This
>    would not overlap 3339, which would continue to define how to serialise
>    UTC and fixed-offset date-times.

This is a little confusing: Adjunct implies that you're extending RFC 3339, "no
overlap" implies you're not. In any case, I would recommend building on the
existing syntax of RFC 3339 if possible.

> I am not too fussed which of these paths we go down.  I was originally
> advocating for the first option, but looking at it again, I can see good
> arguments for the second instead.

Exactly.

				Ned