Skip to content

Commit

Permalink
html_report: add report generation timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKorczynski committed Aug 24, 2022
1 parent f7f885a commit edc3a04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fuzz_introspector/html_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import bs4
import random
import string
from datetime import datetime
import matplotlib.pyplot as plt

from matplotlib.patches import Rectangle
Expand Down Expand Up @@ -840,6 +841,7 @@ def create_html_report(
# Start creation of core html
html_body_start = '<div class="content-section">'
html_overview = "<div class=\"report-box\">"
html_overview += "<b>Report generation date:</b>" + datetime.today().strftime('%Y-%m-%d %H:%M:%S') + "<pr>"
html_overview += html_helpers.html_add_header_with_link(
f"Project overview: {report_name}",
1,
Expand Down

0 comments on commit edc3a04

Please sign in to comment.