]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/changeset_helper.rb
Add missing dependencies
[rails.git] / app / helpers / changeset_helper.rb
index cc008aab758ff568ba970a19e55b03e78cebdc3f..7eb389023ba54a9cfc373dda4ee6f7a39ea51215 100644 (file)
@@ -10,7 +10,7 @@ module ChangesetHelper
   end
 
   def changeset_details(changeset)
-    if changeset.closed_at > DateTime.now
+    if changeset.closed_at > Time.now
       action = :created
       time = distance_of_time_in_words_to_now(changeset.created_at)
       title = l(changeset.created_at)