From a45a8ac719d5710e7da92f77d9801b351e505c1f Mon Sep 17 00:00:00 2001 From: Corey Ryan Hanson <17171838+coreyryanhanson@users.noreply.github.com> Date: Fri, 30 Oct 2020 07:20:34 -0400 Subject: [PATCH] The code outputting to a pandas dataframe was broken from a recent update. (#999) * added missing space which broke geosearch * fixed dataframe code broken from hour formatting in commit 2348211b912852779397494f2138d6b62d76592f --- twint/storage/panda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twint/storage/panda.py b/twint/storage/panda.py index e96fa637..9b134eb1 100644 --- a/twint/storage/panda.py +++ b/twint/storage/panda.py @@ -84,7 +84,7 @@ def update(object, config): "username": Tweet.username, "name": Tweet.name, "day": day, - "hour": datetime.strptime("%H", localtime(datetime_ms/1000)), + "hour": strftime("%H", localtime(datetime_ms/1000)), "link": Tweet.link, "urls": Tweet.urls, "photos": Tweet.photos,