Browse Source

[FIX] fix date string

12.0-add-financial-risk
houssine 5 years ago
parent
commit
b0d1fb76ef
  1. 1
      easy_my_coop_website/controllers/main.py

1
easy_my_coop_website/controllers/main.py

@ -78,7 +78,6 @@ class WebsiteSubscription(http.Controller):
def get_date_string(self, birthdate): def get_date_string(self, birthdate):
if birthdate: if birthdate:
birthdate = datetime.strptime(birthdate, "%Y-%m-%d")
return datetime.strftime(birthdate, "%d/%m/%Y") return datetime.strftime(birthdate, "%d/%m/%Y")
return False return False

Loading…
Cancel
Save