From b5f6405ceb5d6e22fcf39963c6512386a1da6584 Mon Sep 17 00:00:00 2001 From: jeancf Date: Wed, 28 Jun 2023 15:19:46 +0200 Subject: [PATCH] Test further --- twoot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index fcc6ea3..87cd36e 100755 --- a/twoot.py +++ b/twoot.py @@ -981,8 +981,8 @@ def main(argv): tweet_text += '\n\nOriginal tweet: ' + substitute_source(full_status_url) # Check what timestamp would look like - logging.debug("TEST TIMESTAMP") - logging.debug(tweet_text + ' (' + time_string + ')') + logging.debug("TEST TIMESTAMP " + str(time_string)) + logging.debug(tweet_text + ' (' + datetime.strftime(timestamp, '%d %b %Y %H:%M %Z') + ')') # If no media was specifically added in the tweet, try to get the first picture # with "twitter:image" meta tag in first linked page in tweet text