aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-02-02 20:17:12 -0800
committerAdam Mathes <adam@trenchant.org>2017-02-02 20:17:12 -0800
commit1831e19a5bf8ad4848b08b6b7dfff85b5a375c39 (patch)
treee455a703269fffe1bb9fe3e63fd543f206f80f31
parent9c45088948c9068a25be9a8a459c4453ef7e7bcd (diff)
downloadneko-1831e19a5bf8ad4848b08b6b7dfff85b5a375c39.tar.gz
neko-1831e19a5bf8ad4848b08b6b7dfff85b5a375c39.tar.bz2
neko-1831e19a5bf8ad4848b08b6b7dfff85b5a375c39.zip
fix typo
-rw-r--r--crawler/crawler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/crawler.go b/crawler/crawler.go
index ab776dc..1c8f1a7 100644
--- a/crawler/crawler.go
+++ b/crawler/crawler.go
@@ -72,7 +72,7 @@ func CrawlFeed(f *feed.Feed, ch chan<- string) {
item.Description = encoded
}
- if(i.PublishedParse != nil) {
+ if(i.PublishedParsed != nil) {
item.PublishDate = i.PublishedParsed.Format(time.RFC3339)
}
item.FeedId = f.Id