Skip to content

Commit

Permalink
QA
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Nov 5, 2024
1 parent d8c90da commit bf50202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobsfscan/formatters/sarif.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
MIT License, Copyright (c) Microsoft Corporation.
"""
from datetime import datetime
from datetime import datetime, timezone
from pathlib import PurePath
import urllib.parse as urlparse

Expand Down Expand Up @@ -132,7 +132,7 @@ def sarif_output(outfile, scan_results, mobsfscan_version, path):
version=mobsfscan_version,
)),
invocations=[om.Invocation(
end_time_utc=datetime.utcnow().strftime(TS_FORMAT),
end_time_utc=datetime.now(timezone.utc).strftime(TS_FORMAT),
execution_successful=True,
)])])
run = log.runs[0]
Expand Down

0 comments on commit bf50202

Please sign in to comment.