From af7a438174d45fb261e501bbc0a036d7c7c2dfe3 Mon Sep 17 00:00:00 2001 From: db123 Date: Wed, 24 Jun 2026 15:06:08 +0330 Subject: [PATCH] feat: extended the build minute keyboard to have each 10 minutes from 0 to 50 --- internal/bot/calendar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bot/calendar.go b/internal/bot/calendar.go index 24f4320..ec6b585 100644 --- a/internal/bot/calendar.go +++ b/internal/bot/calendar.go @@ -361,7 +361,7 @@ func buildHourPickerKeyboard(cb func(int) string, backData string) models.Inline func buildMinutePickerKeyboard(cb func(int) string, backData string) models.InlineKeyboardMarkup { kbRows := [][]models.InlineKeyboardButton{} minRow := []models.InlineKeyboardButton{} - for _, mm := range []int{0, 15, 30, 45} { + for _, mm := range []int{0, 10, 20, 30, 40, 50} { minRow = append(minRow, models.InlineKeyboardButton{ Text: fmt.Sprintf("%02d", mm), CallbackData: cb(mm), })