Skip to content

Commit

Permalink
Tweaked weird wording of docs/ref/contrib/humanize.txt 'naturaltime' …
Browse files Browse the repository at this point in the history
…section from [16071]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed May 14, 2011
1 parent 2b57308 commit c2ba96d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ref/contrib/humanize.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ naturaltime


.. versionadded:: 1.4 .. versionadded:: 1.4


For date and time values shows how many seconds, minutes or hours ago compared For datetime values, returns a string representing how many seconds,
to current timestamp returns representing string. Otherwise, it behaves like minutes or hours ago it was -- falling back to a longer date format if the
:tfilter:`naturaldate`, so it can also take string argument for date formating. value is more than a day old.


**Argument:** Date formatting string as described in the :tfilter:`date` tag. **Argument:** Date formatting string as described in the :tfilter:`date` tag.


Expand Down

0 comments on commit c2ba96d

Please sign in to comment.