Report: Add time to the timestamp 87/12387/2
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:39:49 +0000 (16:39 +0000)
Change-Id: I1343e84353230329362848d1389ae41b169d2791
Signed-off-by: Tibor Frank <tifrank@cisco.com>
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)