adding timezone to fix ECMA5 parsing
This commit is contained in:
parent
eebe2524a5
commit
2c97ed940c
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ def parseXML(xmlfile):
|
||||||
episode['download_url'] = child.attrib['url']
|
episode['download_url'] = child.attrib['url']
|
||||||
if child.tag == 'pubDate':
|
if child.tag == 'pubDate':
|
||||||
date = child.text
|
date = child.text
|
||||||
episode['date'] = parsedate_to_datetime(date).isoformat()
|
episode['date'] = parsedate_to_datetime(date).isoformat() + "-08:00"
|
||||||
if child.tag == "title":
|
if child.tag == "title":
|
||||||
episode['title'] = child.text
|
episode['title'] = child.text
|
||||||
if child.tag == "description":
|
if child.tag == "description":
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue