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

Mike Jones <Michael.Jones@microsoft.com> Thu, 16 July 2020 15:58 UTC

Return-Path: <Michael.Jones@microsoft.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 A90043A0B20; Thu, 16 Jul 2020 08:58:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=microsoft.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 TmUIcMmFvP9z; Thu, 16 Jul 2020 08:58:45 -0700 (PDT)
Received: from NAM06-BL2-obe.outbound.protection.outlook.com (mail-eopbgr650104.outbound.protection.outlook.com [40.107.65.104]) (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 11DD83A0B1F; Thu, 16 Jul 2020 08:58:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZOLDRSlBUaN0BkKVYQdn/xbvfZrazHbtHRbn5Q+XFbVO/e/kj0RXTMMNtO/QmcvX3A7sAEH1hvHl9IYWrNc7Jv/uW/fQcRP4DTerSHim2YCE4j/M2lpKLz/5O5XZYMc0QSe/Kc1+cr8juKCQ4IriXjaEF4sDAvZj21C6vSrrP6g1J7YxE60TMQGhWfhpP3Hq6Vfx2T+qqJGx9VS1oVS2rxQTEIhMGUcZXIRSCG2oZGpqIJ8psApHdMHREhrd7U4uRvrCAoranZDMrQB5jOXKYasOyRVxTo2MEU7vwOIgConscwkKyg+VDsfdNCvR5QQndGS5Yemc6UR1Kx0ZDI1rgQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=weuCINxE6RJO1LTx2D+w4MQYRWynfQJaJ4vgJd6Qpcg=; b=T5jz1BtFg89Q7jvttAP4Yh0wqZIHOURpUfTtvmsNBYMLddyfzgb7k1HT89uF1lVaXHqAmLd8Kdl8Kuhtcqz3n7kOmEaQUiZF90Uf9RBu68vgSuc4UThkk/R5cElHIIMwnVzmWLCpR+KS3BjBrgrff0Vxiw1RLZPw1FR+jAjOfmbsSnTY8TYfQbqXQHXr8od8vlU0EzvDQJXV4dK21/5HM7795/61UJV04pqt6dNIBBNPJK8t14wTot6skrXLwwKsv+Cbgzu2fYqUg7X2VfzgBUC6gJK31xEeC3+65e+rg1T9ufCCy3y/Rp16QAsmMIcdDYAjYiIk7MW9WitoM2G1Iw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=weuCINxE6RJO1LTx2D+w4MQYRWynfQJaJ4vgJd6Qpcg=; b=R9LNAkSehys2/n4fumJUXT+ad6FG98X7hSkzsk57sl3jKxxBMse24SVeWGYGY8SOkVKjORw8E76EaVp68dr0hMel5LuroKwkJt7TPx1pbtR0hKQlrqPDlfXxHu2hJS9Y/Rur5FJMqpnse0u1rTlksxo/ds14hdpzhxlNn3yuJfw=
Received: from CH2PR00MB0678.namprd00.prod.outlook.com (2603:10b6:610:a9::23) by CH2PR00MB0779.namprd00.prod.outlook.com (2603:10b6:610:66::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3238.0; Thu, 16 Jul 2020 15:58:43 +0000
Received: from CH2PR00MB0678.namprd00.prod.outlook.com ([fe80::e9ce:b982:5ae1:959d]) by CH2PR00MB0678.namprd00.prod.outlook.com ([fe80::e9ce:b982:5ae1:959d%9]) with mapi id 15.20.3238.000; Thu, 16 Jul 2020 15:58:43 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "draft-ietf-cbor-date-tag@ietf.org" <draft-ietf-cbor-date-tag@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [EXTERNAL] Re: draft-ietf-cbor-date-tag-02 - handling of time zone offsets
Thread-Index: AQHWW3ZCd4TrjNKNT0KsCDscXE0RLKkKWaqQ
Date: Thu, 16 Jul 2020 15:58:43 +0000
Message-ID: <CH2PR00MB0678600097EC5BF5E71F2B52F57F0@CH2PR00MB0678.namprd00.prod.outlook.com>
References: <20200701072123.hnyhzemagtotnuyl@anna.jacobs.jacobs-university.de> <20200716133721.j5xduwghxcv4kok3@anna.jacobs.jacobs-university.de>
In-Reply-To: <20200716133721.j5xduwghxcv4kok3@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-07-16T15:46:41Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=26f7db71-1994-43c7-99f6-05a78939a4cb; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: jacobs-university.de; dkim=none (message not signed) header.d=none;jacobs-university.de; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [50.47.87.252]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 2578d02e-efdb-4b65-141c-08d829a11d5f
x-ms-traffictypediagnostic: CH2PR00MB0779:
x-microsoft-antispam-prvs: <CH2PR00MB07796024592CEA1A891F7F2AF57F0@CH2PR00MB0779.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: oxRFtSsQNSLFmcRvbzL9AR8cYdOUsISw6CboAp7xJyaHiNliqyjgJ1Ce2f8dJ6UrpOBEzfzxhbrAyNgXMB/VNoXfhWBZJDlm+iPKXI6O2h04tGsT/GDaF42P9xNCywgnygMxNBvV84FfiOJV3XZ9SuBSjPyaBwJgZop1amgIvbwT9gTA1lUfbeYCsdL20/NcnZYIMs+7gup8VJPZQOcMVFM27vg67XGh2eTLAdSEo0yyZZ7y/1nJ0dt1SJABiUXvJy2xLk4ylVxTVKcUaN0et9o6nGNVF7oOlhiLpbPt2tAaLGagMVz5Q0UVf0HiQ8j2+KW0JO1X4tqmiQimYo9dmbfHcZshDUwBZp2Og5pxb3+f/pr33FAvQpqnnutGrra9BsHoFQynYuchBcD8iXUaEQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR00MB0678.namprd00.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(136003)(396003)(366004)(39860400002)(83380400001)(5660300002)(83080400001)(10290500003)(2906002)(76116006)(33656002)(6506007)(66446008)(53546011)(66946007)(110136005)(71200400001)(52536014)(8676002)(66476007)(26005)(66556008)(64756008)(7696005)(316002)(86362001)(186003)(8990500004)(55016002)(8936002)(478600001)(82950400001)(9686003)(82960400001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: xlVE+q7fvW/5OBl0BTgVVXPJ+Bwdpe6eGrjkSbs8WEQO8kWldP8EHNf79G0pd10Py1AS7RrfLke0l9MN6ZzsNyY84abvytfm5OCBH9d/MQoHP3hPXxL1I05CnrcI/rSnDNvpfSYX7W4U/LjagD75CsshvUZNdbVoMM48TAmDj6C+0fqW7apWOFmjd7u5tRX0k6E+N8YTLX1lV+8sqZEq9/tfqE7aNTMziGHu37G4FKdiNRI5r3X1GR+6A7gSOcBgs1wUWjvSpFb3akdYnkmknCjYC+GSINZ+LvkbTfxj0w/qcIk7t4adTxEDefdTuAz2Whrv4LsqIQFoXuSLUz/e0/h8qsgeou4L4uzgKNKvs6JuavQ1TM2ZOh6B6nC8ayVpWCfUQJN8XrdLNUei8kkvuriIitPsYHwEWrGaEZDhLB6T4+tak+Q9Blh+NcWnOk3yw2GPfRX/ZbDvdmkAi188ctVjDB0Iru51H71trHCMZ/jjFVqpeGiX5IQyYy597oXBgqGPaE//tAQgewWRY9RoB5/S++jh3+CTz4a7KwzRMj4rKQ6PDYvX7newai01ialE1UwT//69yp6uyXR/kTWZQjf4vvFcQJcNTqR7Yw1hN9MN7t3C/dyS72swP4bU4hQ2c329DQoEgELAYyj/BP7Gdg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH2PR00MB0678.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2578d02e-efdb-4b65-141c-08d829a11d5f
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2020 15:58:43.1113 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: EPJQoOEmXSUBO/MjqizcLIg6OyIn6WI4A2HggTnntrSjQnCeQ+H/EebR5QdQzmee+yMcH0/CJkuMRsSk5cFnsQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR00MB0779
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/FqN2BwxkGpObNuWorIgSDIpR1fI>
Subject: Re: [Cbor] [EXTERNAL] Re: 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 15:58:47 -0000

Replies inline, prefixed by "Mike>"...

-----Original Message-----
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> 
Sent: Thursday, July 16, 2020 6:37 AM
To: draft-ietf-cbor-date-tag@ietf.org; cbor@ietf.org
Subject: [EXTERNAL] Re: draft-ietf-cbor-date-tag-02 - handling of time zone offsets

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.

Mike> Given that many developers know that the UNIX/POSIX Epoch is 1970-01-01T00:00:00Z, others would think it is odd if we *don't* reference it.  I believe the current reference text strikes an appropriate balance, saying how they are and are not related.

- 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.

Mike> OK

- 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.)

Mike> 1.3 was added in response to comments by Jim Schaad - also with input from Carsten Bormann and is about comparing dates and times.  As to why tags weren't added for time values - there was a present use case for date values and there wasn't for time values.  Another spec can always define and add such tags to the registry in the future.

/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/>