From b3d9cf247f3de5558b0a8e42b63178dc1924ee73 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 3 May 2018 19:50:38 +0000 Subject: Report: Add time to the timestamp Change-Id: I323517fbac177ef31861be747feeb81968d2b330 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_report.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'resources/tools/presentation') diff --git a/resources/tools/presentation/generator_report.py b/resources/tools/presentation/generator_report.py index 67701be182..c9ee22f961 100644 --- a/resources/tools/presentation/generator_report.py +++ b/resources/tools/presentation/generator_report.py @@ -48,7 +48,7 @@ HTML_BUILDER = 'sphinx-build -v -c . -a ' \ '-b html -E ' \ '-t html ' \ '-D release={release} ' \ - '-D version="{release} report - {date}" ' \ + '-D version="{release} report\n{date}" ' \ '{working_dir} ' \ '{build_dir}/' @@ -57,7 +57,7 @@ PDF_BUILDER = 'sphinx-build -v -c . -a ' \ '-b latex -E ' \ '-t latex ' \ '-D release={release} ' \ - '-D version="{release} report - {date}" ' \ + '-D version="{release} report\n{date}" ' \ '{working_dir} ' \ '{build_dir}' @@ -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'), + 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) @@ -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'), + date=datetime.datetime.utcnow().strftime('%m/%d/%Y %H:%M UTC'), working_dir=spec.environment["paths"]["DIR[WORKING,SRC]"], build_dir=build_dir) execute_command(cmd) -- cgit 1.2.3-korg