Commit 9891c0fa authored by Nicolas Delaby's avatar Nicolas Delaby

fix typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17241 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 29aee787
......@@ -230,7 +230,7 @@ def getRoundedMonthBetween(from_date=None, to_date=None, rounded_day=False):
from math import ceil
interval_day = ceil(to_date - from_date)
else:
interval_day = to_date - from_dat
interval_day = to_date - from_date
if interval_day >= days_in_month / 2.:
return_value += 1
return return_value
......
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