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