Report: Add time to the timestamp 91/12391/2
authorTibor Frank <tifrank@cisco.com>
Thu, 3 May 2018 19:22:44 +0000 (19:22 +0000)
committerTibor Frank <tifrank@cisco.com>
Thu, 3 May 2018 19:24:51 +0000 (19:24 +0000)
Change-Id: I5d48fb578195d584c3d51a2b8e0d9770ffe82182
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_report.py

index dd31a9a..67701be 100644 (file)
@@ -103,7 +103,7 @@ def generate_html_report(release, spec, versions):
 
     cmd = HTML_BUILDER.format(
         release=release,
 
     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)
         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,
     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)
         working_dir=spec.environment["paths"]["DIR[WORKING,SRC]"],
         build_dir=build_dir)
     execute_command(cmd)