Permalink
Browse files

temp change to fix wrong date

  • Loading branch information...
1 parent 3978203 commit 0d9e6c96484cc65a084d36f9ada68384dbb8ccf6 @ashchan committed Mar 29, 2012
Showing with 6 additions and 1 deletion.
  1. +5 −0 Rakefile
  2. +1 −1 lib/matter.rb
View
@@ -7,3 +7,8 @@ desc "daily cron for updating"
task :cron do
BlackWidow.new.bite
end
+
+desc "fix wrong date"
+task :fix_date do
+ Matter.all(:date => "-4712-01-01").update(:date => Date.today.prev_day)
+end
View
@@ -6,7 +6,7 @@ class Matter
property :city, String
property :pm, Integer
property :iaqi, Integer
- property :date, Date
+ property :date, String#Date
property :created_at, DateTime
def aqi

0 comments on commit 0d9e6c9

Please sign in to comment.