Skip to content

Commit

Permalink
Add timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth authored Jul 22, 2024
1 parent 10772cb commit 85e8e5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pqc_report_writer_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import argparse
from typing import NamedTuple, Optional, Sequence, Mapping
from mdutils.mdutils import MdUtils
from datetime import datetime

_FILENAME_REGEX = re.compile(r'^(?P<generator>[^_]+)_(?P<verifier>[^.]+)\.(?P<extension>(csv|json))$', re.IGNORECASE)
_OID_MAPPING_LINE_REGEX = re.compile(r'^\|\s*(?P<name>[^|]+)\s*\|\s*(~~)?(?P<oid>\d+(\.\d+)+)\*?(~~)?\s*\|.*$')
Expand Down Expand Up @@ -219,7 +220,8 @@ def main():

md_file.new_paragraph(text="<style> table { border-collapse: collapse; } th, td { border: solid black 1px; padding: 0 1ex; } col { width: auto !important; } </style>")


now = datetime.now()
md_file.new_paragraph(text="Generated: "+str(now.year)+"-"+str(now.month)+"-"+str(now.day)+" "+str(now.hour)+":"+str(now.minute))

md_file.new_header(level=1, title=f'Algorithms Submitted')
md_file.new_paragraph(text="✅ = passing all verifiers<br>◒ = passing some verifiers<br>⚪︎ = not passing any verifiers<br>")
Expand Down

0 comments on commit 85e8e5b

Please sign in to comment.