diff --git a/schedule.go b/schedule.go index 6dcfe06..c010fcc 100644 --- a/schedule.go +++ b/schedule.go @@ -35,6 +35,11 @@ func (s Schedule) CurrentCourse() (string, error) { } for courseName, courseInfo := range s.Courses { + // Skip times that are TBD + if courseInfo.StartTime == "TBD" || courseInfo.EndTime == "TBD" { + continue + } + startTime, err := time.Parse(time.Kitchen, courseInfo.StartTime) if err != nil { return "", err