X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bfffe7ed96e1aba434ca40b488264c43d8f679ff..dff0c82f17d15ebed01941b9a24f9e0ab8feb1df:/script/update-spam-blocks diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 40f2cb03c..b5656f6ac 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -6,7 +6,7 @@ require "generator" addresses = User.count( :conditions => { :status => %w[suspended deleted], - :creation_time => Time.now - 28.days..Time.now + :creation_time => Time.now.utc - 28.days..Time.now.utc }, :group => :creation_ip )