Open jayjacobs opened 1 week ago
Additionally, the "datePublished" field which should be set internally has 3 different formats:
It looks like the difference is that YYYY-MM-DDThh:mm:ss
is used when the time is set to 00:00:00 and the format of YYYY-MM-DDThh:mm:ss.sssZ
is used when there is a time value present.
Currently date/time is represented as 8 different formats in the data, with 66.3% of all specified date/time fields not specifying a timezone. Many of the variations are from older CVEs, but even in the last few years there are multiple date/time fields with a variety of formats:
The schema currently has two different date/time objects specified, the "datestamp" and "timestamp", but it appears the "timestamp" is the only one referenced and used. It states, "If timezone offset is not given, GMT (+00:00) is assumed." It's fine to not expect the CNA to always specify it, but it should default to UTC (the "Z" in the current formats represent UTC not GMT), AND the timezone should be set for the CNA if not supplied.
I propose that new date/time values be corrected to always have a timezone, and older stored date/time values are updated to a single format and all include a timezone.