projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MERGE] forward port of branch saas-4 up to 5087612
[odoo/odoo.git]
/
addons
/
gamification
/
models
/
challenge.py
diff --git
a/addons/gamification/models/challenge.py
b/addons/gamification/models/challenge.py
index
6c79d43
..
60723ff
100644
(file)
--- a/
addons/gamification/models/challenge.py
+++ b/
addons/gamification/models/challenge.py
@@
-58,7
+58,7
@@
def start_end_date_for_period(period, default_start_date=False, default_end_date
end_date = default_end_date
if start_date and end_date:
- return (start_date.strftime(DF), end_date.strftime(DF))
+ return (datetime.strftime(start_date, DF), datetime.strftime(end_date, DF))
else:
return (start_date, end_date)