From 7528afaff9e9fdd77a61814351faa1ac88d76a6e Mon Sep 17 00:00:00 2001 From: jeancf Date: Tue, 11 Jul 2023 20:58:41 +0200 Subject: [PATCH] Removed brackets from timestamp --- twoot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index 50467cd..508beac 100755 --- a/twoot.py +++ b/twoot.py @@ -43,7 +43,7 @@ HTTPS_REQ_TIMEOUT = 10 NITTER_URLS = [ 'https://canada.unofficialbird.com/', # New 11/07/2023 - 'https://nederland.unofficialbird.com/', # New 11/07/2023 + 'https://nederland.unofficialbird.com/', # New 11/07/2023 'https://nitter.lacontrevoie.fr', 'https://nitter.cutelab.space', # USA, added 16/02/2023 'https://nitter.weiler.rocks', # added 15/06/2023 @@ -1010,7 +1010,7 @@ def main(argv): timestamp_display = pytz.utc.localize(timestamp).astimezone(timezone_display) logging.debug("Timestamp converted " + str(timestamp_display)) - tweet_text += ' (' + datetime.strftime(timestamp_display, TOML['options']['tweet_time_format']) + ')' + tweet_text += ' ' + datetime.strftime(timestamp_display, TOML['options']['tweet_time_format']) # 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