Append UTC

This commit is contained in:
bashrc committed 2020-11-22 18:21:20 +00:00
1 parent f892745e8c
commit e58effe89d
1 file changed
+4 -1
+4 -1
View File
@@ -243,10 +243,13 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
publishedDate = parseFeedDate(pubDate)
if publishedDate:
pubDateStr = str(publishedDate) + '+00:00'
if not pubDateStr.endswith('+00:00'):
pubDateStr += '+00:00'
postFilename = ''
votesStatus = []
addNewswireDictEntry(baseDir, domain,
result, str(publishedDate),
result, pubDateStr,
title, link,
votesStatus, postFilename,
description, moderated, mirrored)