Kaydet (Commit) 7a1f8414 authored tarafından vagrant's avatar vagrant

Fixed #22842

üst dd57b89f
......@@ -246,7 +246,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::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment