]> git.openstreetmap.org Git - rails.git/blobdiff - script/update-spam-blocks
Merge remote-tracking branch 'upstream/pull/3957'
[rails.git] / script / update-spam-blocks
index 40f2cb03c5715f4b89dece59964ad7ebb13bd16b..b5656f6ac0b5b7aad20208084b990789985fdc9b 100755 (executable)
@@ -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
 )