diff --git a/core.go b/core.go index e92d5c9..0456e1c 100644 --- a/core.go +++ b/core.go @@ -133,16 +133,16 @@ func isInTimeOfDay(t time.Time, ta TimeArrow) bool { tmp, err := json.Marshal(ta.TimesOnDay) mainKey := fmt.Sprintf("[%s][%s]", tfdate, string(tmp)) - value, ok := isInTimeOfDayCacheBool.Load(mainKey) - if ok && err == nil { - ret := value.(int) - if ret == 3 { - // return true - } - if ret == 4 { - return false - } - } + // value, ok := isInTimeOfDayCacheBool.Load(mainKey) + // if ok && err == nil { + // ret := value.(int) + // if ret == 3 { + // // return true + // } + // if ret == 4 { + // return false + // } + // } parseInLocationCache := map[string]time.Time{} for k := range ta.TimesOnDay {