diff --git a/term.go b/term.go index 3fbf3a2..9435d9d 100644 --- a/term.go +++ b/term.go @@ -5,6 +5,8 @@ import ( "strconv" "time" _ "time/tzdata" + + "github.com/rs/zerolog/log" ) // Term selection should yield smart results based on the current time, as well as the input provided. @@ -36,6 +38,9 @@ func init() { } SpringRange, SummerRange, FallRange = GetYearDayRange(uint16(time.Now().Year())) + + currentTerm, nextTerm := GetCurrentTerm(time.Now()) + log.Debug().Str("CurrentTerm", fmt.Sprintf("%+v", currentTerm)).Str("NextTerm", fmt.Sprintf("%+v", nextTerm)).Msg("GetCurrentTerm") } type YearDayRange struct {