summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/vppapigen')
-rw-r--r--src/tools/vppapigen/C.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/vppapigen/C.py b/src/tools/vppapigen/C.py
index c9e543f486b..b56e0722122 100644
--- a/src/tools/vppapigen/C.py
+++ b/src/tools/vppapigen/C.py
@@ -1,8 +1,9 @@
# C generation
import datetime
import os
+import time
-datestring = datetime.datetime.now()
+datestring = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))
input_filename = 'inputfil'
top_boilerplate = '''\
/*