From 850802ecd98c46e868b75cca054c497635ae4fbc Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 3 May 2018 15:06:10 +0200 Subject: Report: Add time to the timestamp Change-Id: I72379462b31455a03f461598cd4b0084b52c4b3e Signed-off-by: Tibor Frank (cherry picked from commit 886bf3329c7027ded79ec0b59184f1fcb047130d) --- resources/tools/presentation/generator_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources') 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) -- cgit 1.2.3-korg