Re: [xml2rfc] RFC date format?

Henrik Levkowetz <henrik@levkowetz.com> Fri, 13 September 2019 15:33 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73E6A120073 for <xml2rfc@ietfa.amsl.com>; Fri, 13 Sep 2019 08:33:30 -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 8VSr4TjhBWA7 for <xml2rfc@ietfa.amsl.com>; Fri, 13 Sep 2019 08:33:28 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48665120047 for <xml2rfc@ietf.org>; Fri, 13 Sep 2019 08:33:28 -0700 (PDT)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:53503 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1i8nZe-0001LN-AM; Fri, 13 Sep 2019 08:33:27 -0700
To: Anders Rundgren <anders.rundgren.net@gmail.com>, xml2rfc@ietf.org
References: <85e59f6d-f4d7-cc4c-93c2-5d3ee8dbd438@gmail.com> <a7344819-c320-9a03-6ca2-e129fc150ce5@levkowetz.com> <a566f342-aef1-2628-9eff-2b3c74387edb@gmail.com> <b293160b-a648-1f0e-8f90-a81347af7177@levkowetz.com> <42746d08-1aef-fe42-f31e-204ed4d6620e@gmail.com>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <a2820133-796a-bf11-6ff6-70dbc16e3dbb@levkowetz.com>
Date: Fri, 13 Sep 2019 17:33:13 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <42746d08-1aef-fe42-f31e-204ed4d6620e@gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="tfGCU75vN66WnV7KGLIjWirhoWPCpmahN"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: xml2rfc@ietf.org, anders.rundgren.net@gmail.com
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/o7t9EAhPY2P0DTlSmYKQS9OGtHM>
Subject: Re: [xml2rfc] RFC date format?
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Sep 2019 15:33:31 -0000

Hi Anders,

On 2019-09-13 17:18, Anders Rundgren wrote:
> Hi Henrik,
> 
> On 2019-09-13 17:07, Henrik Levkowetz wrote:
>> Hi Anders,
>> 
>> On 2019-09-13 17:02, Anders Rundgren wrote:
>>> On 2019-09-13 16:56, Henrik Levkowetz wrote:
>>>> You can choose format with the --legacy-date-format switch, except for the
>>>> boilerplate which has a fixed format.
>>>
>>> Hi Henrik,
>>>
>>> This does not seem to address my concern about mixed date formats in submitted documents and that the Web tool does something else.
>> 
>> In that case, you must give me more specific information and examples in
>> order to understand and possibly debug.
> 
> If you run the V3 Web tool and ask for RfcMarkup for
> https://raw.githubusercontent.com/cyberphone/ietf-json-canon/gh-pages/xmlv3/draft-rundgren-json-canonicalization-scheme.xml
> you will (of today at least) see that all dates are in the new format.
> 
> The published version submitted as as XML
> https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-08
> shows dates in old format except for
> "This Internet-Draft will expire on 16 March 2020."

Right.  The --legacy-date-format doesn't affect the boilerplate, as I tried
to indicate.

Changing the default for xml2rfc output from submission-time conversion to
use the new format should be trivial; will be so with the next release.


	Henrik


> 
> Cheers,
> Anders
> 
> 
>> 
>> 
>> 	Henrik
>> 
>> 
>>> Anders
>>>
>>>>
>>>> On 2019-09-13 16:05, Anders Rundgren wrote:
>>>>> After submitting (in XML V3 format)
>>>>> https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-08
>>>>> I see that you haven't fully made up your mind regarding date formats.
>>>>>
>>>>> In the version created by the Web tool dates have changed to
>>>>>
>>>>> nn month year
>>>>>
>>>>> while the submitted generated version mixes the traditional and new date format.
>>>>>
>>>>> I don't think there was a problem with the old format but what's more important is maintaining consistency.
>>>>>
>>>>> thanx,
>>>>> Anders
>>>>>
>>>>> _______________________________________________
>>>>> xml2rfc mailing list
>>>>> xml2rfc@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/xml2rfc
>>>>>
>>>>
>>>
>>>
>> 
> 
>