fix date issue.
This commit is contained in:
parent
c3a2c91a11
commit
c21c71667e
|
@ -153,7 +153,8 @@ class _Base:
|
||||||
|
|
||||||
data = extruct.extract(markup)
|
data = extruct.extract(markup)
|
||||||
s = parse_extruct(s, data)
|
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:
|
if 'disqus' in markup:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user