mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #7743: Reverted [8483], which was itself a reversion of [8481], after confirmation from Malcolm. Corrected a long standing mistake in the timesince/timeuntil filters when using a parameter for 'now'. Thanks to Andrew Shearer <ashearerw@shearersoftware.com> for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -643,7 +643,7 @@ def timesince(value, arg=None): | ||||
|     if not value: | ||||
|         return u'' | ||||
|     if arg: | ||||
|         return timesince(arg, value) | ||||
|         return timesince(value, arg) | ||||
|     return timesince(value) | ||||
| timesince.is_safe = False | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user