From c2ba96d8a949a5b55312aef2e183a5620bc2ed8d Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 14 May 2011 17:44:10 +0000 Subject: [PATCH] Tweaked weird wording of docs/ref/contrib/humanize.txt 'naturaltime' section from [16071] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16226 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/humanize.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ref/contrib/humanize.txt b/docs/ref/contrib/humanize.txt index aab6ff31b9..5cacf2b97d 100644 --- a/docs/ref/contrib/humanize.txt +++ b/docs/ref/contrib/humanize.txt @@ -102,9 +102,9 @@ naturaltime .. versionadded:: 1.4 -For date and time values shows how many seconds, minutes or hours ago compared -to current timestamp returns representing string. Otherwise, it behaves like -:tfilter:`naturaldate`, so it can also take string argument for date formating. +For datetime values, returns a string representing how many seconds, +minutes or hours ago it was -- falling back to a longer date format if the +value is more than a day old. **Argument:** Date formatting string as described in the :tfilter:`date` tag.