u 3 years ago
parent
commit
449d38e5e6
  1. 5
      core.go

5
core.go

@ -134,8 +134,8 @@ func isInTimeOfDay(t time.Time, ta TimeArrow) bool {
value, ok := isInTimeOfDayCacheBool.Load(mainKey)
if ok {
ret, ok := value.(int)
if ok {
ret := value.(int)
if ret == 3 {
return true
}
@ -143,7 +143,6 @@ func isInTimeOfDay(t time.Time, ta TimeArrow) bool {
return false
}
}
}
parseInLocationCache := map[string]time.Time{}
var err error

Loading…
Cancel
Save