Skip to content

Commit

Permalink
Merge branch 'main' into buttons-for-lessons
Browse files Browse the repository at this point in the history
  • Loading branch information
boozec committed Nov 24, 2023
2 parents 08cdc02 + f2aa41f commit 3b981cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/uni.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ func GetTimeTable(courseType, courseName string, curriculum string, year int, da
for _, event := range events {
b.WriteString(fmt.Sprintf(` 🕘 <b><a href="%s">%s</a></b>`, 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))
Expand Down

0 comments on commit 3b981cf

Please sign in to comment.