Merge branch 'main' of gitea:berhsi/rechnung

This commit is contained in:
qbi 2021-05-03 23:08:03 +02:00
commit 01c13589fb

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