diff --git a/commands/uni.go b/commands/uni.go index 75aeb55..d860b67 100644 --- a/commands/uni.go +++ b/commands/uni.go @@ -68,7 +68,8 @@ func GetTimeTable(courseType, courseName string, year int, day time.Time) (strin for _, event := range events { b.WriteString(fmt.Sprintf(` 🕘 %s`, event.Teams, event.Title)) b.WriteString("\n") - b.WriteString(event.Start.Format("15:04")) + b.WriteString(event.Start.Format("15:04") + " - " + + event.End.Format("15:04")) b.WriteString("\n") if len(event.Classrooms) > 0 { b.WriteString(fmt.Sprintf(" 🏢 %s - %s\n", event.Classrooms[0].BuildingDesc, event.Classrooms[0].FloorDesc))