Re: [Cbor] draft-ietf-cbor-date-tag-02 - handling of time zone offsets

Michael Richardson <mcr@sandelman.ca> Wed, 08 July 2020 21:27 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 922543A0772 for <cbor@ietfa.amsl.com>; Wed, 8 Jul 2020 14:27:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 hHtUvq0zrgrL for <cbor@ietfa.amsl.com>; Wed, 8 Jul 2020 14:27:18 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24CB03A07BD for <cbor@ietf.org>; Wed, 8 Jul 2020 14:27:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 73CB8389A0; Wed, 8 Jul 2020 17:24:21 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GLq2h6WgHvLS; Wed, 8 Jul 2020 17:24:20 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id A8EC538999; Wed, 8 Jul 2020 17:24:20 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id E289A4B5; Wed, 8 Jul 2020 17:27:14 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, cbor@ietf.org
In-Reply-To: <MN2PR00MB06889C828D2E5900D1795D70F5670@MN2PR00MB0688.namprd00.prod.outlook.com>
References: <MN2PR00MB06889C828D2E5900D1795D70F5670@MN2PR00MB0688.namprd00.prod.outlook.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 08 Jul 2020 17:27:14 -0400
Message-ID: <31084.1594243634@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ZAw0hLs8dillvTuJfcFRJSIVa5U>
Subject: Re: [Cbor] draft-ietf-cbor-date-tag-02 - handling of time zone offsets
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jul 2020 21:27:27 -0000

Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org> wrote:
    > Thanks for your review, Jim, and for your stab at addressing it,
    > Carsten.  I'll do some of this, but I don't think we should incorporate
    > information about details vagaries of the Gregorian calendar over the
    > centuries.
    > Such statements wouldn't be authoritative or actionable.

I suggest you include text like:

   Note that since both tags are for dates without times, time zones and
   leap seconds are not applicable to these values.  These tags are both
   for representations of calendar dates.
+  These formats are capable of representing dates in the distant past as
+  well as in the future.  There have been a variety of calendars in use
+  prior to modern times, and this specification may not be suitable for uses
+  where human centric calendar concepts like the day of the week are important.

I suggest that you start:

   When
   using a calendar date for decision making, for example access
   control, it needs to be noted that since calendar dates do not
   represent a specific point in time, the results of the evaluation can
   differ depending upon where the decision is made.  For instance, a
   person may have reached their 21st birthday in Japan while
   simultaneously being a day short of their 21st birthday in Hawaii.

as a new paragraph.

* Would an RFC3339 example be worth while?

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [