Skip to content

Commit ab2376c

Browse files
committed
[BUG FIX] get_day_transaction tdy
1 parent 749f7bd commit ab2376c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/telegram_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def handle_get_transaction(update, context):
691691
msg = ""
692692
try:
693693
if reply.lower() == "tdy":
694-
reply = dt.datetime.now(timezone).strftime("%d %b")
694+
reply = dt.datetime.now(timezone).strftime("%d %b").lstrip("0")
695695
if check_date_format(reply):
696696
day, month = reply.split(" ")
697697
total_spend, transport_values, other_values = gs.get_day_transaction(

0 commit comments

Comments
 (0)