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

W3C Notes aren't draft documents necessarily #4829

Open
plehegar opened this issue Nov 13, 2024 · 0 comments
Open

W3C Notes aren't draft documents necessarily #4829

plehegar opened this issue Nov 13, 2024 · 0 comments
Labels

Comments

@plehegar
Copy link
Contributor

Description of problem

URL to affected spec or repo:

This is a bug in the W3C templates sotd and affects all Notes

https://w3c.github.io/hr-time/?specStatus=NOTE

What happened (e.g., it crashed)?:

The SOTD text says:
[[
This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
]]

However, Group Notes aren't draft documents necessarily. That's what the Draft Note status is for.

Expected behavior (e.g., it shouldn't crash):

The update paragraph should not be there (like in the 2021 sample.

Or it could be:
[[
This document is maintained and updated at any time. Some parts of this
document are work in progress.
]]

As such, a simple fix in L238, case "NOTE" could be:

if (conf.pubMode === "LS") {
  updatePolicy = lsUpdatePolicy;
} else {
  updatePolicy = '';
}

Optional, steps to reproduce:

  1. ...
@plehegar plehegar added the bug label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant