Closed
Description
spdx created
specification expects
YYYY-MM-DDThh:mm:ssZ
as in the example:
Created: 2010-01-29T18:30:22Z
However, the current implementation does not produce time in the expected format.
Steps to reproduce
- Take attached example or sbom from scratch example and modify
Line 41: created=datetime.datetime.now(tz=datetime.timezone.utc),
Line 75: release_date=datetime.datetime.now(tz=datetime.timezone.utc),
- Build SBOM
- Resulting SBOM has
"created": "2023-09-29T08:14:36+00:00Z",
This does not match the spec and is also warned by: https://tools.spdx.org/app/
Metadata
Metadata
Assignees
Labels
No labels