diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-05-03 15:06:10 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-05-03 13:08:15 +0000 |
commit | 850802ecd98c46e868b75cca054c497635ae4fbc (patch) | |
tree | ad277431fb38e452e2739bad87c8401a59ceeded | |
parent | 734e18806b93568c2c461bb24b8dbccffb713f7c (diff) |
Report: Add time to the timestamp
Change-Id: I72379462b31455a03f461598cd4b0084b52c4b3e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 886bf3329c7027ded79ec0b59184f1fcb047130d)
-rw-r--r-- | resources/tools/presentation/generator_report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_report.py b/resources/tools/presentation/generator_report.py index 6819f350b6..94ba2ff0d9 100644 --- a/resources/tools/presentation/generator_report.py +++ b/resources/tools/presentation/generator_report.py @@ -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, - 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=build_dir) execute_command(cmd) |