main
Bob Mottram 2020-11-22 16:02:18 +00:00
parent 944fa554e7
commit a7de74bb81
1 changed files with 4 additions and 4 deletions

View File

@ -213,9 +213,9 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
publishedDate = publishedDate + hoursAdded publishedDate = publishedDate + hoursAdded
postFilename = '' postFilename = ''
votesStatus = [] votesStatus = []
pubDateStr = str(publishedDate) + '+00:00'
addNewswireDictEntry(baseDir, domain, addNewswireDictEntry(baseDir, domain,
result, result, pubDateStr,
str(publishedDate) + '00:00',
title, link, title, link,
votesStatus, postFilename, votesStatus, postFilename,
description, moderated, mirrored) description, moderated, mirrored)
@ -346,9 +346,9 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str,
publishedDate = publishedDate + hoursAdded publishedDate = publishedDate + hoursAdded
postFilename = '' postFilename = ''
votesStatus = [] votesStatus = []
pubDateStr = str(publishedDate) + '+00:00'
addNewswireDictEntry(baseDir, domain, addNewswireDictEntry(baseDir, domain,
result, result, pubDateStr,
str(publishedDate) + '00:00',
title, link, title, link,
votesStatus, postFilename, votesStatus, postFilename,
description, moderated, mirrored) description, moderated, mirrored)