Exclude decimals in BUILD_EPOCH flag

This commit is contained in:
Gunnar Skjold
2022-10-01 09:22:09 +02:00
parent 57e6d0fbe3
commit 2f0c912388

View File

@@ -19,6 +19,6 @@ hf = """
#define VERSION "{}"
#endif
#define BUILD_EPOCH {}
""".format(version, time())
""".format(version, round(time()))
with open(FILENAME_VERSION_H, 'w+') as f:
f.write(hf)