Update timezone from Europe/London to Europe/Moscow across configuration, backend, and frontend files for consistent time handling.

This commit is contained in:
vrubel 2025-12-30 14:26:14 +03:00
parent 457dc74485
commit 60409362c7
8 changed files with 13 additions and 13 deletions

View file

@ -17,7 +17,7 @@ from backend.utils import (
router = APIRouter()
TZ = pytz.timezone("Europe/London")
TZ = pytz.timezone("Europe/Moscow")
@router.get("/schedule", response_model=ScheduleResponse)

View file

@ -18,7 +18,7 @@ from backend.models import TaskCreate, EventCreate
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
TZ = pytz.timezone("Europe/London")
TZ = pytz.timezone("Europe/Moscow")
BOT_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN", "")
# Состояния для ConversationHandler

View file

@ -6,7 +6,7 @@ import pytz
from backend.database import Task, Event, WeeklyTaskException
from backend.models import ScheduleItem
TZ = pytz.timezone("Europe/London")
TZ = pytz.timezone("Europe/Moscow")
def get_weekday_from_date(date_str: str) -> int: