X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f946797520d5420804a730657dab99c504cae693..44843c1dd7921b310be264bc0261b3c070d37641:/app/helpers/user_blocks_helper.rb diff --git a/app/helpers/user_blocks_helper.rb b/app/helpers/user_blocks_helper.rb index 75bd4a46d..f18a6250c 100644 --- a/app/helpers/user_blocks_helper.rb +++ b/app/helpers/user_blocks_helper.rb @@ -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