Commit 6f9448e6 authored by Maxime Bombar's avatar Maxime Bombar

On passe à 6 mois par défaut pour la liste des chèques

parent fc216432
......@@ -85,7 +85,7 @@ def liste_cheques(self, data):
elif data[0] == "date" and len(data) == 3:
if data[1] == " " or data[2] == " ":
fin_date = datetime.datetime.now()
debut_date = fin_date + datetime.timedelta(weeks=-4)
debut_date = fin_date + datetime.timedelta(weeks=-24)
debut_date = debut_date.strftime('%Y-%m-%d')
fin_date = fin_date.strftime('%Y-%m-%d')
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment