fix UTC daily report and back button for bans

This commit is contained in:
Vladless
2025-06-03 00:35:20 +03:00
parent f62dbaa766
commit a6b4420708
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ async def handle_export_keys_csv(callback_query: CallbackQuery, session: AsyncSe
async def send_daily_stats_report(session: AsyncSession):
try:
today = datetime.utcnow().date()
today = datetime.now(pytz.timezone("Europe/Moscow")).date()
now_moscow = datetime.now(pytz.timezone("Europe/Moscow"))
update_time = now_moscow.strftime("%d.%m.%y %H:%M")