diff --git a/messages/messages.go b/messages/messages.go index 5677057..4bd5bbf 100644 --- a/messages/messages.go +++ b/messages/messages.go @@ -55,11 +55,11 @@ func LessonsMessage(schedule []parser.Lesson, prefix, emptyText string) string { } endDate := "" for _, l := range schedule { - if endDate != l.TimeStart.Format("01.02") { + if endDate != l.TimeStart.Format("02.01") { if endDate != "" { s += "\n" } - endDate = l.TimeStart.Format("01.02") + endDate = l.TimeStart.Format("02.01") s += endDate + "\n" } if strings.Contains(l.User, "Ярных В.В.") {