From 116a9bf84354b82265b21f34a918342ca583bb4e Mon Sep 17 00:00:00 2001
From: Dimitris Lampridis <dimitris.lampridis@cern.ch>
Date: Wed, 7 Aug 2019 13:26:17 +0200
Subject: [PATCH] [tools] update syndate field of buildinfo to include
 synthesis time as well

---
 tools/gen_buildinfo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/gen_buildinfo.py b/tools/gen_buildinfo.py
index 381549ef..d01b7829 100644
--- a/tools/gen_buildinfo.py
+++ b/tools/gen_buildinfo.py
@@ -24,6 +24,6 @@ with open("buildinfo_pkg.vhd", "w") as f:
   f.write('     & "commit:{}" & LF\n'.format(commitid))
   f.write('     & "syntool:{}" & LF\n'.format(tool))
   f.write('     & "syndate:{}" & LF\n'.format(
-      time.strftime("%A, %B %d %Y", time.localtime())))
+      time.strftime("%F, %H:%M %Z", time.localtime())))
   f.write('     & "synauth:{}" & LF;\n'.format(userid))
   f.write('end buildinfo_pkg;\n')
-- 
GitLab