Commits

Mike Orr  committed 87e7137

Fix inconsistent argument.

  • Participants
  • Parent commits 6f48b46

Comments (0)

Files changed (1)

File webhelpers/date.py

     return ", ".join(return_strings[:-1]) + " and " + return_strings[-1]
 
 
-def time_ago_in_words(from_time, grandularity="second", round=False):
+def time_ago_in_words(from_time, granularity="second", round=False):
     """
     Return approximate-time-distance string for ``from_time`` till now.
 
     
     """
     return distance_of_time_in_words(from_time, datetime.now(), 
-        grandularity, round)
+        granularity, round)