forked from tanner/qotnews
fix date issue.
This commit is contained in:
parent
c3a2c91a11
commit
c21c71667e
|
@ -153,6 +153,7 @@ class _Base:
|
||||||
|
|
||||||
data = extruct.extract(markup)
|
data = extruct.extract(markup)
|
||||||
s = parse_extruct(s, data)
|
s = parse_extruct(s, data)
|
||||||
|
if s['date']:
|
||||||
s['date'] = unix(s['date'], tz=self.tz)
|
s['date'] = unix(s['date'], tz=self.tz)
|
||||||
|
|
||||||
if 'disqus' in markup:
|
if 'disqus' in markup:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user