Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kesara
Copy link
Member

@kesara kesara commented Sep 21, 2023

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

@cabo
Copy link
Contributor

cabo commented Sep 21, 2023

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

@kesara
Copy link
Member Author

kesara commented Sep 21, 2023

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] python/cpython#90772

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 ietf-tools#1032
@kesara
Copy link
Member Author

kesara commented Sep 22, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTML output: capture date of XML file prep and date of HTML rendering
2 participants