[netmod] Simple date in 6991bis-02

Balázs Lengyel <balazs.lengyel@ericsson.com> Thu, 19 March 2020 11:30 UTC

Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 975843A27AE for <netmod@ietfa.amsl.com>; Thu, 19 Mar 2020 04:30:35 -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, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 tg0g380z1fHp for <netmod@ietfa.amsl.com>; Thu, 19 Mar 2020 04:30:30 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20050.outbound.protection.outlook.com [40.107.2.50]) (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 0D46D3A27AC for <netmod@ietf.org>; Thu, 19 Mar 2020 04:30:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; =?utf-8?q?b=3DexoXR3/gpieHf/jgkh9nPLVJSMP5uf9dSzbX3zxjNqUNCq7DHEq2S/noykDuV?= =?utf-8?q?5KWtvuO953DMbSHeWAdWRaLn4Z37o/PzJevR4t1J+TIFbd1B5PSHfCM8WBGQdHt3M?= =?utf-8?q?EDBFR5XHzI+RM3hOedMSapT2cMGjXNNOk4IiEOJ+vc6YRgpGT/9GaAzGRjwrvbIfA?= =?utf-8?q?36Ofr4/c2xcXJnNoftljZnkieSF0yb9643Vio9TtrOXy2hg6K/1pOSgLrBKlDeurL?= =?utf-8?q?ym3tDiMz3+z8q3jrC0QML7wE4F8wahCWIpFd3YVEgpQ6nZdB74X3Az+W5C3VMXc1S?= =?utf-8?q?BJw1D/TMW7a67m92H8p9A=3D=3D?=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; =?utf-8?q?h=3DFrom=3ADate=3ASubject=3AMessage-ID=3ACont?= =?utf-8?q?ent-Type=3AMIME-Version=3AX-MS-Exchange-SenderADCheck=3B?= =?utf-8?q?bh=3DjMRQ3/NVTE4dOzPFEk+uyoiyqMnTcrOYrx/L3a3brY4=3D=3B_b=3DNxNabJ?= =?utf-8?q?ILNPa/XEMf5OnfxNznT4kvhL7uMThRiJer3KGZ45FEf93CS8i8wjyNA9gz6xNrlDl?= =?utf-8?q?hDblnDbFJRvHfqCkkBlM34u5jLyMy8Nkujp9ZbdF+ohso1CAwEhK0ZmBZvd4bQs5T?= =?utf-8?q?MZYsferRItbOhQkJuJw/6LIRARPiMn5ukvnYbmll7Q6FjrZ5ZcAPzXjADcOFTSe86?= =?utf-8?q?y+RSpRbiNb2yXx5cgEbwXlSwzoG6ztXnWapbl8hjX3TQXADceSv9ey69HXi3svbCb?= =?utf-8?q?EiduPweSf8/TcJQEsyT4z8IcXkN+LUzfzQJkX8Av1mwbGqo1olg6tTdP6d4KVmvjK?= =?utf-8?q?7G16s+ebszA=3D=3D?=
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; =?utf-8?q?h=3DFrom=3ADate=3ASubject=3AMessage-ID=3AContent-Typ?= =?utf-8?q?e=3AMIME-Version=3AX-MS-Exchange-SenderADCheck=3B?= =?utf-8?q?bh=3DjMRQ3/NVTE4dOzPFEk+uyoiyqMnTcrOYrx/L3a3brY4=3D=3B_b=3DRPcKFO?= =?utf-8?q?zMMt+CUj22X2HI1R2LGIFi7wAsQCG4FuCKUaKF8ZH0vMJjWeabyQEztgy/8Ob/8Yp?= =?utf-8?q?gTQqEOcyIqU7ip+BevaUZh9z3VxQIJ5PT0RHjHY5MZ0H9VtgJSQ2SmNAHcOsEMFUn?= =?utf-8?q?LYHo0Pf25UrrHpiOA6FZsxCjNZ7hw0ngJ1A=3D?=
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com (52.134.97.155) by DB7PR07MB5499.eurprd07.prod.outlook.com (20.178.47.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.9; Thu, 19 Mar 2020 11:30:18 +0000
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::15cf:dc81:c6f4:aa0c]) by DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::15cf:dc81:c6f4:aa0c%7]) with mapi id 15.20.2835.013; Thu, 19 Mar 2020 11:30:18 +0000
From: =?iso-8859-1?Q?Bal=E1zs_Lengyel?= <balazs.lengyel@ericsson.com>
To: "'netmod@ietf.org'" <netmod@ietf.org>
Thread-Topic: Simple date in 6991bis-02
Thread-Index: AdX94ScvCSiCS1jAR2imw4H6NNhKYg==
Date: Thu, 19 Mar 2020 11:30:17 +0000
Message-ID: =?utf-8?q?=3CDB7PR07MB4011F0DD9804EC2896E6D854F0F40=40DB7PR07MB4?= =?utf-8?q?011=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [80.98.254.17]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e69a5e65-9d46-4df7-a674-08d7cbf8e6dc
x-ms-traffictypediagnostic: DB7PR07MB5499:
x-microsoft-antispam-prvs: =?utf-8?q?=3CDB7PR07MB5499EFCE7CEB753EF649DE92F0F?= =?utf-8?q?40=40DB7PR07MB5499=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0347410860
x-forefront-antispam-report: SFV:NSPM; =?utf-8?q?SFS=3A=2810009020=29=284636?= =?utf-8?b?MDA5KSgzNzYwMDIpKDM5NjAwMykoMzY2MDA0KSgxMzYwMDMpKDM0NjAwMikoMzk4?= =?utf-8?q?60400002=29=28199004=29=286506007=29=285660300002=29=28316002=29?= =?utf-8?q?=2855016002=29=288936002=29=2866446008=29=2866616009=29=286694600?= =?utf-8?b?NykoNjQ3NTYwMDgpKDY2NTU2MDA4KSg2NjQ3NjAwNykoNDc4NjAwMDAxKSg5?= =?utf-8?q?326002=29=2852536014=29=2876116006=29=2871200400001=29=2833656002?= =?utf-8?b?KSg0NzQ0MDA1KSg3Njk2MDA1KSg4MTE2NjAwNikoODExNTYwMTQpKDY5MTYwMDkp?= =?utf-8?b?KDk2ODYwMDMpKDI5MDYwMDIpKDg2MzYyMDAxKSg4Njc2MDAyKSgxODYwMDMpKDI2?= =?utf-8?q?005=29=28491001=29=3B?= DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB5499; H:DB7PR07MB4011.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: =?utf-8?q?fo7sQZlILy96Btn0iSJUTbkYElDEIhv?= =?utf-8?q?oIIhwjyhzo+SF9DQ5OQmey82m/K8eCUhBo8pC0FJx+HTVKzXTtJVOJcMB0L+F9GDv?= =?utf-8?q?G9Bfg5fS62tQwW3dPR2wRiqGGWg8MR2aRpRxLBSXzlNMnNGxMXb2Mdw00vpa3OBmc?= =?utf-8?q?KALJu+Gti8yhuAUZgOkgCdtGwa5wrQ46sn6ahoNwqeD3+IP0msAUwWw4mydG9B9/1?= =?utf-8?q?QPDQkIyhUyItw1Z/xokMQwXc/6dqGjw8V6jf4WQ4laoD+h3JFOcLpNA97UtvkUSz8?= =?utf-8?q?48DaE2eAauypoQHG+dbzV179E4Bv7gCXtZHKCj5faoiI0jpEaPoOcnFw94g53nART?= =?utf-8?q?cLv9akYtJHx6clx5qX593Emes9Cr49w4iVfjZLdSJHIfsZx7JMgiCAphjF6JClPbM?= =?utf-8?q?pySJDS25xuS2cC1xEL9aaF/hDq5kd4Zp0r2Ds9gT2iAkDZwggVy0BXv1JlPrv9OzP?= =?utf-8?q?n9XI4=3D?=
x-ms-exchange-antispam-messagedata: =?utf-8?q?baZSc0txYD1FBucLy8ETGor2qY+7Ed?= =?utf-8?q?IPyW/26Fu3u8d3mts2Ex8Z67HRY++EG9/JO4RWGeSqXeH7ch2kvAu0hAUaJszgXr+?= =?utf-8?q?7Smv0PDfrgM1rbn7b4+KsrA57pRHU89tc474BWb3gZwDzhxpr4SvSiA=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0031_01D5FDEA.2525DA70"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e69a5e65-9d46-4df7-a674-08d7cbf8e6dc
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2020 11:30:18.0843 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: =?utf-8?q?rTJMzMSNXHUeaZ2fgFrLw?= =?utf-8?q?hICKiFnSgpQjIUNwyH84hdfbvdMfhP7sCj7SheY0s1hADDIGV+cUdur9XAlxkCVEG?= =?utf-8?q?Vlm5tZnC/2w+UldvzWZks=3D?=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5499
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/iU9LpgxpKIX4mcXFTSVtGdAtnjQ>
Subject: [netmod] Simple date in 6991bis-02
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Mar 2020 11:30:36 -0000

Hello,

This might have been discussed earlier, but I still find it strange that the


   typedef date {

has the timezone as a mandatory part. While I understand the issue that when
a day starts/ends is uncertain without the timezone, in real life people
practically never add the timezone to a date, and it does not cause major
problems. So IMHO following life we should have a simple-date datatype that
does not include any timezone. Actually we do have that datatype just we
called it revision-identifier. Really strange.

 

I would also consider to tighten up the pattern for
revision-identifier/date/date-and-time.

        pattern '\d{4}-(1[0-2]|0[1-9])-(0[1-9]|[1|2][0-9]|3[0-1])';

This would prohibit  2020-16-67 : months > 12 or days > 31

Regards Balazs

 

 

-- 

Balazs Lengyel                    Senior Specialist
Ericsson Hungary Ltd. 

Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com