Merge branch 'main' of gitea:berhsi/rechnung
This commit is contained in:
commit
01c13589fb
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue