Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanReiter committed May 3, 2011
1 parent 18ee8b6 commit 90137d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexibledatefield/flexibledate.py
Expand Up @@ -87,7 +87,7 @@ def __add__(self, other):
raise ValueError("You tried to add a flexible date delta with months to a flexible date without months (What is %s + %d months?)" % (self, other.months))
if other.days:
try:
new_date = self.date() + datetime.timedelta(days=other.days)
new_date = self.date + datetime.timedelta(days=other.days)
self.value = value.strftime('%Y%m%d')
except AttributeError:
raise ValueError("You tried to add a flexible date delta with days to a flexible date without days (What is %s + %d days?)" % (self, other.days))
Expand Down

0 comments on commit 90137d0

Please sign in to comment.