From 969b6849b813fcb26ff97484d0d404eb9654e876 Mon Sep 17 00:00:00 2001 From: jeancf Date: Wed, 28 Jun 2023 18:34:42 +0200 Subject: [PATCH] Other time representation --- twoot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twoot.py b/twoot.py index ecb2148..2a7a40f 100755 --- a/twoot.py +++ b/twoot.py @@ -982,7 +982,7 @@ def main(argv): # Check what timestamp would look like logging.debug("TEST TIMESTAMP " + str(time_string)) - logging.debug(tweet_text + ' (' + datetime.strftime(timestamp, '%d %b %Y %H:%M %Z') + ')') + logging.debug(tweet_text + ' (' + datetime.strftime(timestamp, '%x %X') + ')') # 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