From 59e30a75dcb375d7dd3538c1d1783e9b0caa550f Mon Sep 17 00:00:00 2001 From: jim teeuwen Date: Mon, 19 Sep 2011 02:25:09 +0200 Subject: [PATCH] Fix Time.Weekday() call due to recent change in Go. --- feed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed.go b/feed.go index 38b20e5..a732114 100644 --- a/feed.go +++ b/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 } }