Fix Time.Weekday() call due to recent change in Go.
This commit is contained in:
parent
961ddaf378
commit
59e30a75dc
2
feed.go
2
feed.go
|
@ -140,7 +140,7 @@ func (this *Feed) CanUpdate() bool {
|
|||
if len(this.Channels) == 0 && this.Type == "rss" {
|
||||
if this.EnforceCacheLimit && len(this.Channels[0].SkipDays) > 0 {
|
||||
for _, v := range this.Channels[0].SkipDays {
|
||||
if v == utc.Weekday {
|
||||
if v == utc.Weekday() {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue