aboutsummaryrefslogtreecommitdiffstats
path: root/crawler
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-02-16 15:30:08 -0800
committerAdam Mathes <adam@trenchant.org>2017-02-16 15:30:08 -0800
commita73c843f00facf83817a907420c4497ca1613d14 (patch)
treef58c696f50d39f499005fe63ffd43965dab75054 /crawler
parenta66bd5af075304d50b0033841723c6fde7e1fc7c (diff)
downloadneko-a73c843f00facf83817a907420c4497ca1613d14.tar.gz
neko-a73c843f00facf83817a907420c4497ca1613d14.tar.bz2
neko-a73c843f00facf83817a907420c4497ca1613d14.zip
well that date stuff didnt work right at all whoops
Diffstat (limited to 'crawler')
-rw-r--r--crawler/crawler.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawler/crawler.go b/crawler/crawler.go
index 8f3108d..c352736 100644
--- a/crawler/crawler.go
+++ b/crawler/crawler.go
@@ -72,9 +72,9 @@ func CrawlFeed(f *feed.Feed, ch chan<- string) {
item.Description = encoded
}
- if(i.PublishedParsed != nil) {
- item.PublishDate = i.PublishedParsed.Format(time.RFC3339)
- }
+ // if(i.PublishedParsed != nil) {
+ // item.PublishDate = i.PublishedParsed.Format(time.RFC3339)
+ // }
item.FeedId = f.Id
err := item.Create()
if err != nil {