aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-05-03 19:22:44 +0000
committerTibor Frank <tifrank@cisco.com>2018-05-03 19:26:46 +0000
commit27d7d6a79f971c6d6daaa024ce76ca4892a55ce2 (patch)
tree6c6aae3fee9da79dca276d56c0d7ac51f3488f34
parent28edcbcc044b11956a9253e375db34c3fc5ea56f (diff)
Report: Add time to the timestamp
Change-Id: I5d48fb578195d584c3d51a2b8e0d9770ffe82182 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 7da4d5715a7d777562f8d524d075d2b08451af83)
-rw-r--r--resources/tools/presentation/generator_report.py4
1 files 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)