forked from berhsi/rechnung
Merge branch 'main' of gitea:berhsi/rechnung
This commit is contained in:
commit
01c13589fb
1 changed files with 2 additions and 2 deletions
|
@ -268,8 +268,8 @@ class RECHNUNG():
|
||||||
'''
|
'''
|
||||||
filename = ""
|
filename = ""
|
||||||
kunde = self.K.kunde.replace(" ", "_")
|
kunde = self.K.kunde.replace(" ", "_")
|
||||||
today = time.strftime("%Y%m%d")
|
today = date.today().strftime("%Y%m%d")
|
||||||
month = time.strftime("%B")
|
month = date.today().strftime("%B")
|
||||||
filename = "_".join((today, "Rechnung", month, kunde))
|
filename = "_".join((today, "Rechnung", month, kunde))
|
||||||
filename = ".".join((filename, "ltx"))
|
filename = ".".join((filename, "ltx"))
|
||||||
return filename
|
return filename
|
||||||
|
|
Loading…
Reference in a new issue