[Cbor] Proposal for Date, Time and Time Zones

Richter, Jörg <Joerg.Richter@pdv-FS.de> Thu, 14 February 2019 08:31 UTC

Return-Path: <Joerg.Richter@pdv-FS.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 6485E131091 for <cbor@ietfa.amsl.com>; Thu, 14 Feb 2019 00:31:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.919
X-Spam-Level:
X-Spam-Status: No, score=-0.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 BeDYHMNLLBss for <cbor@ietfa.amsl.com>; Thu, 14 Feb 2019 00:31:09 -0800 (PST)
Received: from mail.pdv-fs.de (mail.pdv-fs.de [213.208.220.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B3D113102B for <cbor@ietf.org>; Thu, 14 Feb 2019 00:31:09 -0800 (PST)
Received: from EXCHDB1.pdv-fs.de (192.168.180.94) by EXCHDB1.pdv-fs.de (192.168.180.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 14 Feb 2019 09:31:06 +0100
Received: from EXCHDB1.pdv-fs.de ([fe80::6c4a:8b1b:60f4:4437]) by EXCHDB1.pdv-fs.de ([fe80::6c4a:8b1b:60f4:4437%15]) with mapi id 15.01.1466.012; Thu, 14 Feb 2019 09:31:06 +0100
From: "Richter, Jörg" <Joerg.Richter@pdv-FS.de>
To: "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: Proposal for Date, Time and Time Zones
Thread-Index: AdTEOszvWqEfqmNWRgi+93eO+W0ZPw==
Date: Thu, 14 Feb 2019 08:31:06 +0000
Message-ID: <bd4d7f87e98b40d585eb7b4502d4b234@pdv-FS.de>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.168.180.93]
Content-Type: multipart/alternative; boundary="_000_bd4d7f87e98b40d585eb7b4502d4b234pdvFSde_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/p_T6fvA31vC4DJKWWoeLLTKd4Us>
Subject: [Cbor] Proposal for Date, Time and Time Zones
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, 14 Feb 2019 08:31:17 -0000

Here is a proposal to assign tags to date, time of day and time zone designator:
https://j-richter.github.io/CBOR/date.html

For the tags I have chosen values between 24 and 255. For date and time I could imagine
to use smaller tags, because the encoded payload is very short.

Do you have better suggestions for the tags?