Other time representation

This commit is contained in:
jeancf 2023-06-28 18:34:42 +02:00
parent f1b7247b3d
commit 969b6849b8

View File

@ -982,7 +982,7 @@ def main(argv):
# Check what timestamp would look like # Check what timestamp would look like
logging.debug("TEST TIMESTAMP " + str(time_string)) 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 # 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 # with "twitter:image" meta tag in first linked page in tweet text