@@ -462,7 +462,7 @@ def log_transaction(user_data, update):
462
462
# datatime data
463
463
current_datetime = dt .datetime .now (timezone )
464
464
day = current_datetime .day
465
- month = current_datetime .strftime ("%b " )
465
+ month = current_datetime .strftime ("%B " )
466
466
467
467
# tracker data
468
468
day_tracker = int (trackers [0 ])
@@ -483,7 +483,7 @@ def log_transaction(user_data, update):
483
483
if day_tracker < day or day == 1 :
484
484
msg = f"New entry for { day } { month } "
485
485
if day == 1 :
486
- month = (current_datetime - dt .timedelta (days = 1 )).strftime ("%b " )
486
+ month = (current_datetime - dt .timedelta (days = 1 )).strftime ("%B " )
487
487
# update prev day
488
488
msg = f"{ msg } \n Creating sum for day { day_tracker } "
489
489
gs .update_prev_day (sheet_id , month , first_row )
@@ -706,7 +706,7 @@ def cpf(update, context) -> int:
706
706
try :
707
707
row_data = [income , place , cpf , remarks ]
708
708
current_datetime = dt .datetime .now (timezone )
709
- month = current_datetime .strftime ("%b " )
709
+ month = current_datetime .strftime ("%B " )
710
710
if gs .update_income (sheet_id , month , row_data ):
711
711
update .callback_query .message .reply_text ("Income has been added!" )
712
712
else :
0 commit comments