This commit is contained in:
bernd 2021-05-03 23:06:18 +02:00
parent 4de0872217
commit 4a0fd29f9f

View file

@ -268,8 +268,8 @@ class RECHNUNG():
'''
filename = ""
kunde = self.K.kunde.replace(" ", "_")
today = time.strftime("%Y%m%d")
month = time.strftime("%B")
today = date.today().strftime("%Y%m%d")
month = date.today().strftime("%B")
filename = "_".join((today, "Rechnung", month, kunde))
filename = ".".join((filename, "ltx"))
return filename