Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html_report: add report generation timestamp #487

Merged
merged 2 commits into from
Aug 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 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,10 @@ 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>"
html_overview += datetime.today().strftime('%Y-%m-%d')
html_overview += "<br>"

html_overview += html_helpers.html_add_header_with_link(
f"Project overview: {report_name}",
1,
Expand Down