mirror of
				https://github.com/django/django.git
				synced 2025-10-28 08:06:09 +00:00 
			
		
		
		
	
				
					committed by
					
						 Baptiste Mispelon
						Baptiste Mispelon
					
				
			
			
				
	
			
			
			
						parent
						
							26983c4c64
						
					
				
				
					commit
					b0e5a527db
				
			| @@ -239,7 +239,7 @@ past:: | ||||
|  | ||||
|     def was_published_recently(self): | ||||
|         now = timezone.now() | ||||
|         return now - datetime.timedelta(days=1) <= self.pub_date <  now | ||||
|         return now - datetime.timedelta(days=1) <= self.pub_date <= now | ||||
|  | ||||
| and run the test again:: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user