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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 16 July 2020 13:37 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 01CBD3A07A8; Thu, 16 Jul 2020 06:37:28 -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 WjAjiZzPrcAr; Thu, 16 Jul 2020 06:37:26 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 870393A079E; Thu, 16 Jul 2020 06:37:24 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id DB830333; Thu, 16 Jul 2020 15:37:22 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.198]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id bKjOC1sR7nIf; Thu, 16 Jul 2020 15:37:22 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Thu, 16 Jul 2020 15:37:22 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 82BAC20157; Thu, 16 Jul 2020 15:37:22 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id HJ0cZbht7ymV; Thu, 16 Jul 2020 15:37:22 +0200 (CEST)
Received: from localhost (anna.jacobs.jacobs-university.de [10.50.218.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by hermes.jacobs-university.de (Postfix) with ESMTPS id 3C17420154; Thu, 16 Jul 2020 15:37:22 +0200 (CEST)
Date: Thu, 16 Jul 2020 15:37:21 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: draft-ietf-cbor-date-tag@ietf.org, cbor@ietf.org
Message-ID: <20200716133721.j5xduwghxcv4kok3@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <20200701072123.hnyhzemagtotnuyl@anna.jacobs.jacobs-university.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20200701072123.hnyhzemagtotnuyl@anna.jacobs.jacobs-university.de>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/199ChcSV4547VwJwD3OimBoam9Q>
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: Thu, 16 Jul 2020 13:37:28 -0000

Thanks for adding new text to -04. I am, however, not sure the text is
already resolving all issues.

- I do not understand why you reference IEEE Std 1003.1, 2013 Edition
   [POSIX.1] time epoch 1970-01-01T00:00:00Z UTC if you then say that
   the timezone is irrelevant. If the timezone is irrelevant, you can
   simplify things:

   OLD

   The epoch chosen for the second tag, which represents days since the
   Gregorian calendar date 1970-01-01, is related to the IEEE Std
   1003.1, 2013 Edition [POSIX.1] time epoch 1970-01-01T00:00:00Z UTC
   only insofar as both contain the date 1970-01-01.  This should not be
   construed as indicating that dates using this tag represent either a
   specific time of day and/or time zone.

   NEW

   The epoch chosen for the second tag, which represents days since the
   Gregorian calendar date 1970-01-01.

- In the section Comparing Dates, I like to see a clear statement that
  dates generated by systems in different timezones for the same event
  may not compare for equality.

- I do not understand section 1.3. Perhaps you wanted to say that the
  representation of date and time values is already defined in section
  2.4.1 of RFC 7049? (Of course, one could ask the question why you now
  introduce a tag for date values but not at the same time also a tag
  for time values.)

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>