aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_report.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-11-13 10:15:05 +0100
committerTibor Frank <tifrank@cisco.com>2018-11-13 10:15:05 +0100
commitd1735e8a571722ef47ef9da3fe297e517a784f5c (patch)
tree9f3dc5a34b0e21a86fab673fbe0f59a0ffb937f2 /resources/tools/presentation/generator_report.py
parent90f09a941acfee8bb7e19c06046d54c968b6421f (diff)
PAL: Change date format according to iso8601
Change-Id: I326d651feb9007684cb60b67dc8f30696cd58a4c Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_report.py')
-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 2f35b66425..0fff90a204 100644
--- a/resources/tools/presentation/generator_report.py
+++ b/resources/tools/presentation/generator_report.py
@@ -157,7 +157,7 @@ def generate_html_report(release, spec, versions, report_version):
cmd = HTML_BUILDER.format(
release=release,
report_version=report_version,
- date=datetime.datetime.utcnow().strftime('%m/%d/%Y %H:%M UTC'),
+ date=datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%MZ'),
working_dir=working_dir,
build_dir=spec.environment["paths"]["DIR[BUILD,HTML]"])
execute_command(cmd)
@@ -212,7 +212,7 @@ def generate_pdf_report(release, spec, versions, report_version):
cmd = PDF_BUILDER.format(
release=release,
report_version=report_version,
- date=datetime.datetime.utcnow().strftime('%m/%d/%Y %H:%M UTC'),
+ date=datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%MZ'),
working_dir=working_dir,
build_dir=build_dir)
execute_command(cmd)