From: Tibor Frank Date: Thu, 3 May 2018 16:38:50 +0000 (+0000) Subject: Report: Add time to the timestamp X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=9c593381a09b1911419e1a67b6af17eb7d801308;hp=886bf3329c7027ded79ec0b59184f1fcb047130d Report: Add time to the timestamp Change-Id: I1343e84353230329362848d1389ae41b169d2791 Signed-off-by: Tibor Frank --- diff --git a/resources/tools/presentation/generator_report.py b/resources/tools/presentation/generator_report.py index 94ba2ff0d9..dd31a9a43f 100644 --- a/resources/tools/presentation/generator_report.py +++ b/resources/tools/presentation/generator_report.py @@ -103,7 +103,7 @@ def generate_html_report(release, spec, versions): cmd = HTML_BUILDER.format( release=release, - date=datetime.date.today().strftime('%d-%b-%Y'), + date=datetime.datetime.utcnow().strftime('%m/%d/%Y %H:%M (UTC)'), working_dir=spec.environment["paths"]["DIR[WORKING,SRC]"], build_dir=spec.environment["paths"]["DIR[BUILD,HTML]"]) execute_command(cmd)