Removed brackets from timestamp

This commit is contained in:
jeancf 2023-07-11 20:58:41 +02:00
parent 1faf11222d
commit 7528afaff9

View File

@ -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