Report: Add time to the timestamp 89/12389/1
authorTibor Frank <tifrank@cisco.com>
Thu, 3 May 2018 16:38:50 +0000 (16:38 +0000)
committerTibor Frank <tifrank@cisco.com>
Thu, 3 May 2018 16:40:59 +0000 (16:40 +0000)
Change-Id: I1343e84353230329362848d1389ae41b169d2791
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 9c593381a09b1911419e1a67b6af17eb7d801308)

resources/tools/presentation/generator_report.py

index 94ba2ff..dd31a9a 100644 (file)
@@ -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)