Change number_to_human calls to always use 3-digits precision (#16469)

Fixes #16435
This commit is contained in:
Claire 2021-07-07 21:13:08 +02:00 committed by GitHub
parent 225c6582d1
commit e2844b7e58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 44 additions and 33 deletions

View file

@ -81,6 +81,6 @@
= t('accounts.nothing_here')
- else
%time.formatted{ datetime: featured_tag.last_status_at.iso8601, title: l(featured_tag.last_status_at) }= l featured_tag.last_status_at
.trends__item__current= number_to_human featured_tag.statuses_count, strip_insignificant_zeros: true
.trends__item__current= friendly_number_to_human featured_tag.statuses_count
= render 'application/sidebar'