Fix Time.Weekday() call due to recent change in Go.

This commit is contained in:
jim teeuwen 2011-09-19 02:25:09 +02:00
parent 961ddaf378
commit 59e30a75dc
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}