]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_blocks_helper.rb
Report deactivates_at as block read date
[rails.git] / app / helpers / user_blocks_helper.rb
index 75bd4a46daec8b1ce277f0b01e59f8f2e3f7cf8d..f18a6250c9e556f65892b30eca7691fd2e6f1ba4 100644 (file)
@@ -35,7 +35,7 @@ module UserBlocksHelper
     else
       if block.revoker_id.nil?
         if block.deactivates_at > block.ends_at
-          t("user_blocks.helper.short.read_html", :time => block_short_time_in_past(block.updated_at))
+          t("user_blocks.helper.short.read_html", :time => block_short_time_in_past(block.deactivates_at))
         else
           t("user_blocks.helper.short.ended")
         end