diff --git a/core.go b/core.go index d4b9f43..db61a79 100644 --- a/core.go +++ b/core.go @@ -160,7 +160,7 @@ func isInTimeOfDay(t time.Time, ta TimeArrow) bool { start = timeCompletion(start) end = timeCompletion(end) - fmt.Println("ssee", start, end, tfdate) + // fmt.Println("ssee", start, end, tfdate) if start <= tfdate && tfdate < end { inTimeOfDayCache.Store(cacheKey, true) return true @@ -168,8 +168,8 @@ func isInTimeOfDay(t time.Time, ta TimeArrow) bool { } inTimeOfDayCache.Store(cacheKey, false) return false - } + func isInTimeOfDay2(t time.Time, ta TimeArrow) bool { if len(ta.TimesOnDay) == 0 { return true