Commit 4a08b46e authored by Fedor Shabashev's avatar Fedor Shabashev Committed by GitHub

fix timezone (#754)

parent e3345426
......@@ -90,7 +90,7 @@ def Tweet(tw, config):
t.username = tw["data-screen-name"]
t.name = tw["data-name"]
t.place = tw.find("a","js-geo-pivot-link").text.strip() if tw.find("a","js-geo-pivot-link") else ""
t.timezone = strftime("%Z", localtime())
t.timezone = strftime("%z", localtime())
for img in tw.findAll("img", "Emoji Emoji--forText"):
img.replaceWith(img["alt"])
t.mentions = getMentions(tw)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment