diff --git a/patches/customversion/addpatch.py b/patches/customversion/addpatch.py index 30717239..1614bb89 100644 --- a/patches/customversion/addpatch.py +++ b/patches/customversion/addpatch.py @@ -16,7 +16,7 @@ for arg in range(2, len(sys.argv)): customtext += " {},".format(sys.argv[arg]) customtext = customtext.strip(",") -timestamp = str(datetime.datetime.utcnow()) + " UTC" +timestamp = str(datetime.datetime.utcnow()).split('.')[0] + " UTC" customtext += ", built on {}@{} at {}".format(os.getlogin(), socket.gethostname(),