aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-05-03 16:38:50 +0000
committerTibor Frank <tifrank@cisco.com>2018-05-03 16:40:59 +0000
commit28edcbcc044b11956a9253e375db34c3fc5ea56f (patch)
tree2dda77d0ec5ae4ec645d0a2f2cdcfeb9e0335070
parent850802ecd98c46e868b75cca054c497635ae4fbc (diff)
Report: Add time to the timestamp
Change-Id: I1343e84353230329362848d1389ae41b169d2791 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 9c593381a09b1911419e1a67b6af17eb7d801308)
-rw-r--r--resources/tools/presentation/generator_report.py2
1 files changed, 1 insertions, 1 deletions
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)