From 27d7d6a79f971c6d6daaa024ce76ca4892a55ce2 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 3 May 2018 19:22:44 +0000 Subject: Report: Add time to the timestamp Change-Id: I5d48fb578195d584c3d51a2b8e0d9770ffe82182 Signed-off-by: Tibor Frank (cherry picked from commit 7da4d5715a7d777562f8d524d075d2b08451af83) --- resources/tools/presentation/generator_report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/tools/presentation/generator_report.py b/resources/tools/presentation/generator_report.py index dd31a9a43f..67701be182 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.datetime.utcnow().strftime('%m/%d/%Y %H:%M (UTC)'), + date=datetime.datetime.utcnow().strftime('%m/%d/%Y %H:%M'), working_dir=spec.environment["paths"]["DIR[WORKING,SRC]"], build_dir=spec.environment["paths"]["DIR[BUILD,HTML]"]) execute_command(cmd) @@ -148,7 +148,7 @@ def generate_pdf_report(release, spec, versions): build_dir = spec.environment["paths"]["DIR[BUILD,LATEX]"] cmd = PDF_BUILDER.format( release=release, - date=datetime.datetime.utcnow().strftime('%m/%d/%Y %H:%M (UTC)'), + date=datetime.datetime.utcnow().strftime('%m/%d/%Y %H:%M'), working_dir=spec.environment["paths"]["DIR[WORKING,SRC]"], build_dir=build_dir) execute_command(cmd) -- cgit 1.2.3-korg