Skip to content

Conversation

@jspeed-meyers
Copy link
Contributor

Fix #529.

Because the SPDX specification uses a subset of ISO-8601 for datetime values, error messages that request the user use ISO-8601 dates are incorrect. These changes make clear to the user the exact format, as dictated by the SPDX specification, that dates should be specified in.

I also changed one comment in utils.py to make clear to future readers of the codebase what DATE_ISO_REGEX represents.

Because the SPDX specification uses a subset of ISO-8601 for
datetime values, error messages that request the user use ISO-8601
dates are incorrect. These changes make clear to the user the
exact format, as dictated by the SPDX spec, that dates should be
specified in.

Signed-off-by: John Speed Meyers <[email protected]>
Copy link
Collaborator

@armintaenzertng armintaenzertng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good! :)

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.

Fix Error Message Related to ISO 8601 format for creationInfo created field

2 participants