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

Jim Schaad <ietf@augustcellars.com> Wed, 08 July 2020 04:46 UTC

Return-Path: <ietf@augustcellars.com>
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 B2F5D3A07B7; Tue, 7 Jul 2020 21:46:36 -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=ham 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 jfFWjdwXdSZH; Tue, 7 Jul 2020 21:46:35 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A7DB3A07BA; Tue, 7 Jul 2020 21:46:34 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 7 Jul 2020 21:46:28 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: draft-ietf-cbor-date-tag@ietf.org
CC: cbor@ietf.org
References: <20200701072123.hnyhzemagtotnuyl@anna.jacobs.jacobs-university.de> <DD477DBD-3F3F-48FA-BADC-FF550CC3D4F7@tzi.org> <20200701090536.mqkfjebfzhz5phls@anna.jacobs.jacobs-university.de> <5244.1593618673@localhost> <04FEC6E5-F8E9-472D-A4D6-71C6C00D79E6@tzi.org> <20200703060820.ydmbdmp5fy2v6wgf@anna.jacobs.jacobs-university.de> <99A557CE-559D-409A-A3DC-5D20F2F55F5E@tzi.org> <20200703064652.m7tuvfcglxyvfque@anna.jacobs.jacobs-university.de> <2A137293-075C-4862-91C2-CC583B9B2FF6@tzi.org> <20200703103212.kwl5pbxubznjqpf6@anna.jacobs.jacobs-university.de> <B4E1605F-4C94-4EC6-B603-0BB725CEF34F@tzi.org>
In-Reply-To: <B4E1605F-4C94-4EC6-B603-0BB725CEF34F@tzi.org>
Date: Tue, 07 Jul 2020 21:46:27 -0700
Message-ID: <00e401d654e2$bf5e78f0$3e1b6ad0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQMU5yeauQxX0hjM4GfOz2W/LucNvAH4br1nAKY8+HkBOcSm+QITMJZnAnyyGq4CVt8YfwKsgMEwAViKGgMBzvB2iAJ3KK1BpedkjuA=
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Z4nwfurN7-L0l4uLPdR-XV91IGk>
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 04:46:37 -0000

Mike,

Based on the messages that I have seen, I would suggest the following actions:

Create a new section dealing with the following: 
a) a definition of what calendar day means
b) a definition of a term other than Unix Epoch to be used as the basis.  This  is a point in time rather than a calendar day so having this as the basis point seems to be generation frisson.  It would appear that it is better to use 1970-01-01 as a POSIX calendar date epoch.
c) Guidance on how to use two points in time to compute a calendar day count.
d) Information on why it is a bad idea or how to compare a calendar date and a point in time.
e) Guidance on how to compare two calendar dates (this should be easy).

Jim



> -----Original Message-----
> From: CBOR <cbor-bounces@ietf.org> On Behalf Of Carsten Bormann
> Sent: Friday, July 3, 2020 5:11 AM
> To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> Cc: draft-ietf-cbor-date-tag@ietf.org; Michael Richardson
> <mcr+ietf@sandelman.ca>; cbor@ietf.org
> Subject: Re: [Cbor] draft-ietf-cbor-date-tag-02 - handling of time zone offsets
> 
> On 2020-07-03, at 12:32, Juergen Schoenwaelder <j.schoenwaelder@jacobs-
> university.de> wrote:
> >
> > PS: There are even events where there is no natural time zone that can
> >    be associated with the event, like the first step on the moon.
> 
> (For those who weren’t there when it happened:)
> 
> Indeed, Monday, 1969-07-21T02:56:15Z.
> 
> Most Americans will tell you Sunday 1969-07-20 for the first steps.   The exact
> time was actually specifically chosen to occur on prime time TV in the US (and
> then was slightly delayed, but managed to stay in window), which spans several
> time zones, which all have this on 1969-07-20.
> 
> Yes, I agree we should have some text on this (not the moon landing, but the
> issues in converting between calendar dates and times anchored on time
> scales).
> 
> Grüße, Carsten
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor