Skip to content

Commit

Permalink
revert to utcnow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Nov 5, 2024
1 parent 0b6de30 commit d8c90da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobsfscan/formatters/sarif.py
Original file line number Diff line number Diff line change
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.now(datetime.timezone.utc).strftime(TS_FORMAT),
end_time_utc=datetime.utcnow().strftime(TS_FORMAT),
execution_successful=True,
)])])
run = log.runs[0]
Expand Down

0 comments on commit d8c90da

Please sign in to comment.