fix
This commit is contained in:
@@ -40,7 +40,7 @@ func inTimeWindows(now time.Time, jsonStr string) bool {
|
||||
}
|
||||
var windows []timeWindow
|
||||
if err := json.Unmarshal([]byte(s), &windows); err != nil || len(windows) == 0 {
|
||||
return true
|
||||
return false
|
||||
}
|
||||
tod := now.Hour()*60 + now.Minute()
|
||||
wd := int(now.Weekday())
|
||||
|
||||
Reference in New Issue
Block a user