convert calendar day view header to user's calendar type
This commit is contained in:
@@ -912,7 +912,7 @@ func (h *Handler) sendDayView(chatID int64, msgID int, user *db.User, date strin
|
||||
return
|
||||
}
|
||||
|
||||
text := fmt.Sprintf("Date: %s", date)
|
||||
text := fmt.Sprintf("Date: %s", formatDateForCalendar(date, user.Calendar))
|
||||
if len(events) == 0 {
|
||||
text += "\nNo events for this day."
|
||||
kb := tgbotapi.NewInlineKeyboardMarkup(
|
||||
|
||||
Reference in New Issue
Block a user