mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Undoing mistaken date correct.
This commit is contained in:
parent
982d1c9589
commit
9f64fcb572
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def _extract_date_tuples(date):
|
|||
return parsed_date, date_tuple, today_tuple, yesterday_tuple
|
||||
|
||||
def pre_process_story(entry, encoding):
|
||||
publish_date = entry.get('published_parsed') or entry.get('published_parsed')
|
||||
publish_date = entry.get('published_parsed') or entry.get('updated_parsed')
|
||||
if publish_date:
|
||||
publish_date = datetime.datetime(*publish_date[:6])
|
||||
if not publish_date and entry.get('published'):
|
||||
|
|
Loading…
Add table
Reference in a new issue