Skip to content

Commit

Permalink
Merge branch 'blog-harvester.de' of git://github.com/astro/harvester
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Feb 17, 2009
2 parents ffa1922 + 6ef59cf commit 1f02f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart.rb
Expand Up @@ -38,7 +38,7 @@ def each
end

c = StatsPerCollection.new
dbi.select_all("select date(items.date) as date,sources.collection from items left join sources on sources.rss=items.rss where date > now() - interval '14 days' order by date") { |date,collection|
dbi.select_all("select date(items.date) as date,sources.collection from items left join sources on sources.rss=items.rss where date > now() - interval '14 days' and date < now() + interval '1 day' order by date") { |date,collection|
c.add_one(collection, date.day)
}

Expand Down

0 comments on commit 1f02f46

Please sign in to comment.