mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Merge branch 'master' into bookmarklet
This commit is contained in:
commit
ff027e2278
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class UserSubscription(models.Model):
|
|||
# Use the latest story to get last read time.
|
||||
if MStory.objects(story_feed_id=self.feed.pk).first():
|
||||
latest_story_date = MStory.objects(story_feed_id=self.feed.pk).order_by('-story_date').only('story_date')[0]['story_date']\
|
||||
+ datetime.timedelta(minutes=1)
|
||||
+ datetime.timedelta(seconds=1)
|
||||
else:
|
||||
latest_story_date = now
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue