Skip to content

Commit

Permalink
Fixed bug with months in age description
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Jan 26, 2015
1 parent ac7fe1e commit 5102470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1895,6 +1895,6 @@ def describeAge(ageInSeconds):
if days < 90:
return str(days) + " days"

months = int(months / 31)
months = int(days / 31)
return str(months) + " mths"

0 comments on commit 5102470

Please sign in to comment.