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

Modify schema to enforce UTC and timezones #353

Open
jayjacobs opened this issue Oct 9, 2024 · 2 comments
Open

Modify schema to enforce UTC and timezones #353

jayjacobs opened this issue Oct 9, 2024 · 2 comments
Labels
bug Something isn't working section:dates Schema location is dates

Comments

@jayjacobs
Copy link
Collaborator

Currently the timestamp values in the record are all over the place (see AWG #135)

These are a list of changes the schema to enforce clean storage of time stamps:

  • Modify the "timestamp" definition to reference UTC instead of GMT (Use UTC instead of GMT in JSON5 #289)
  • Make the inclusion of timezones non-optional (alternatively coordinate with CVE Services to ensure their issue 1274 will handle whatever input is allowed by the schema.
  • Remove "datestamp" definition field as it is not referenced or used anywhere in the schema. (the "timestamp" definition is referenced everywhere a date/time object is needed.
@jayjacobs jayjacobs added bug Something isn't working section:dates Schema location is dates labels Oct 18, 2024
@jayjacobs jayjacobs added the Needs Discussion Discuss in a future QWG meeting or on mailing list label Oct 31, 2024
@ccoffin
Copy link
Collaborator

ccoffin commented Oct 31, 2024

Discussed in 10/31/2024 QWG. Three changes suggested above by Jay.

@jayjacobs jayjacobs removed the Needs Discussion Discuss in a future QWG meeting or on mailing list label Oct 31, 2024
@sei-vsarvepalli
Copy link
Contributor

I would recommend if we require it we specify RFC 3339 in the documentation - being very specific about the format we want to support ISO8601 is broader - https://www.rfc-editor.org/rfc/rfc3339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working section:dates Schema location is dates
Projects
None yet
Development

No branches or pull requests

3 participants