forked from indymedia/epicyon
Append UTC
parent
f892745e8c
commit
e58effe89d
|
@ -243,10 +243,13 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
|
||||||
|
|
||||||
publishedDate = parseFeedDate(pubDate)
|
publishedDate = parseFeedDate(pubDate)
|
||||||
if publishedDate:
|
if publishedDate:
|
||||||
|
pubDateStr = str(publishedDate) + '+00:00'
|
||||||
|
if not pubDateStr.endswith('+00:00'):
|
||||||
|
pubDateStr += '+00:00'
|
||||||
postFilename = ''
|
postFilename = ''
|
||||||
votesStatus = []
|
votesStatus = []
|
||||||
addNewswireDictEntry(baseDir, domain,
|
addNewswireDictEntry(baseDir, domain,
|
||||||
result, str(publishedDate),
|
result, pubDateStr,
|
||||||
title, link,
|
title, link,
|
||||||
votesStatus, postFilename,
|
votesStatus, postFilename,
|
||||||
description, moderated, mirrored)
|
description, moderated, mirrored)
|
||||||
|
|
Loading…
Reference in New Issue