From c082761990163bce243c5e55a2387cb3c3915090 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Fri, 21 May 2021 20:22:23 -0700 Subject: [PATCH] Closes #60 --- bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 81a2e9a..c97436e 100644 --- a/bot.py +++ b/bot.py @@ -311,9 +311,9 @@ def intra(update: Update, context: CallbackContext): update.message.reply_photo( photo=buf, - caption=f"\nIntraday chart for {symbol.name} from {df.first_valid_index().strftime('%H:%M')} to" - + f" {df.last_valid_index().strftime('%H:%M %Z')} on" - + f" {datetime.date.today().strftime('%d, %b %Y')}\n\n{s.price_reply([symbol])[0]}", + caption=f"\nIntraday chart for {symbol.name} from {df.first_valid_index().strftime('%d %b at %H:%M')} to" + + f" {df.last_valid_index().strftime('%d %b at %H:%M')}" + + f"\n\n{s.price_reply([symbol])[0]}", parse_mode=telegram.ParseMode.MARKDOWN, disable_notification=True, )