You don't have rights to send messages in this chat
from datetime import timedelta
new_date = out_time + timedelta(hours=time_offset)
self.connection.commit()
import calendar
...
days_month = calendar.monthrange(d.year, d.month)[1]
if len(my_days) > (days_month - d.day):
my_days = my_days[:days_month - d.day]