fix: reopen clears restored_at, wire settings, docs, startup warning

This commit is contained in:
Atharv1705
2026-11-12 17:34:04 +05:30
parent 5027c0766e
commit e2a6fa601e
17 changed files with 292 additions and 36 deletions
+5 -1
View File
@@ -2,8 +2,12 @@ import calendar
from datetime import date, datetime, timezone
import json
import pytz
from .config import settings
KOLKATA = pytz.timezone("Asia/Kolkata")
try:
KOLKATA = pytz.timezone(settings.TIMEZONE)
except Exception:
KOLKATA = pytz.timezone("Asia/Kolkata")
def utc_now() -> datetime: