Skip to content

Commit

Permalink
Merge pull request #87 from owasp-dep-scan/fix/issue-86
Browse files Browse the repository at this point in the history
Make timestamp match jsonschema date-time format
  • Loading branch information
prabhu authored Apr 13, 2024
2 parents 5119e3c + a171a23 commit 8cd21bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blint/sbom.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def default_metadata(src_dirs):
Metadata: A Metadata object for SBOM generation.
"""
metadata = Metadata()
metadata.timestamp = datetime.now()
metadata.timestamp = f'{datetime.now().isoformat(timespec="seconds")}Z'
metadata.component = default_parent(src_dirs)
metadata.tools = (
Tools(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "blint"
version = "2.1.1"
version = "2.1.2"
description = "Linter and SBOM generator for binary files."
authors = ["Prabhu Subramanian <prabhu@appthreat.com>", "Caroline Russell <caroline@appthreat.dev>"]
license = "MIT"
Expand Down

0 comments on commit 8cd21bb

Please sign in to comment.