xml2rfc icon indicating copy to clipboard operation
xml2rfc copied to clipboard

feat(html): Add created datetime as a meta tag

Open kesara opened this issue 9 months ago • 3 comments

This change adds the created datetime in the UTC time zone using ISO datetime format for HTML output of an RFC. Example:

  <meta content="2023-09-22T11:16Z" name="created">

Fixes #1032

kesara avatar Sep 21 '23 11:09 kesara

As per the discussions in SEDATE, +00:00 should be Z now... (Unless you want to express the document was created in Reykjavik.)

cabo avatar Sep 21 '23 12:09 cabo

As per the discussions in SEDATE, +00:00 should be Z now... (Unless you want to express the document was created in Reykjavik.)

Python standard library is still not supporting Z [1] but I'll change the code so that xml2rfc adds Z instead of +00:00.

[1] https://github.com/python/cpython/issues/90772

kesara avatar Sep 21 '23 19:09 kesara

Updated created timestamp to show hours and minutes with Z instead of +00:00. Example:

<meta content="2023-09-22T11:16Z" name="created">

kesara avatar Sep 22 '23 11:09 kesara