X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1ca2c2837ef0e637d145c22ccf346deb9fdfd035..3df14c5a400473a5572bfe85aa636ab4d01a6fb7:/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