- last_time = [block.ends_at, block.updated_at].max
- I18n.t("user_blocks.helper.time_past", :time => friendly_date(last_time)).html_safe
+ last_time = block.deactivates_at || [block.ends_at, block.updated_at].max
+ t("user_blocks.helper.time_past_html", :time => friendly_date_ago(last_time))