Permalink
Browse files

dbd-mysql-isotime.diff

  • Loading branch information...
1 parent 081d7ec commit b236303df74c62e177ae493b8a43ebd34b6b4449 @astro committed Jan 4, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 dbd-mysql-isotime.diff
View
@@ -0,0 +1,11 @@
+--- git/harvester/fetch.rb 2010-08-29 23:16:17.000000000 +0200
++++ harvester/fetch.rb 2011-01-03 16:57:14.000000000 +0100
+@@ -152,7 +152,7 @@
+ if item_is_new
+ begin
+ dbi.do "INSERT INTO items (rss, title, link, date, description) VALUES (?, ?, ?, ?, ?)",
+- rss_url, item.title, link, item.date, description
++ rss_url, item.title, link, item.date.iso8601, description
+ items_new += 1
+ rescue DBI::ProgrammingError
+ puts description

0 comments on commit b236303

Please sign in to comment.