]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/changesets_helper.rb
Localisation updates from https://translatewiki.net.
[rails.git] / app / helpers / changesets_helper.rb
index 4c0236b6b2ab6e8bee86a4cd749be8f37b0ebc2d..5773240ff1d64fbce02d99dc0ac2695c45bf594d 100644 (file)
@@ -10,7 +10,7 @@ module ChangesetsHelper
   end
 
   def changeset_details(changeset)
   end
 
   def changeset_details(changeset)
-    if changeset.closed_at > Time.now
+    if changeset.closed_at > Time.now.utc
       action = :created
       time = time_ago_in_words(changeset.created_at, :scope => :"datetime.distance_in_words_ago")
       title = l(changeset.created_at)
       action = :created
       time = time_ago_in_words(changeset.created_at, :scope => :"datetime.distance_in_words_ago")
       title = l(changeset.created_at)