change time

This commit is contained in:
Oleg Oleg 2025-12-25 00:19:00 +04:00
parent 4373692653
commit 3315c8ccc7

View File

@ -111,7 +111,7 @@ def build_month_keyboard(current: date) -> InlineKeyboardMarkup:
return InlineKeyboardMarkup(keyboard)
def build_time_keyboard(selected: date, start_hour: int = 9, end_hour: int = 21, step_minutes: int = 60) -> InlineKeyboardMarkup:
def build_time_keyboard(selected: date, start_hour: int = 9, end_hour: int = 21, step_minutes: int = 1src/core/inline_calendar.py0) -> InlineKeyboardMarkup:
buttons: list[list[InlineKeyboardButton]] = []
row: list[InlineKeyboardButton] = []
current = datetime.combine(selected, datetime.min.time()).replace(hour=start_hour, minute=0)