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