]> cat aescling's git repositories - mastodon.git/commitdiff
Fix timestamp on featured tag (#11477)
authorJeong Arm <kjwonmail@gmail.com>
Sun, 4 Aug 2019 21:00:38 +0000 (06:00 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 4 Aug 2019 21:00:38 +0000 (23:00 +0200)
It resolves #11338

app/views/accounts/show.html.haml

index bf7a9f5f71d09148d97b892e31e6cf23e7f42bd5..034304936797a010cdc93e1095d9e56bd79081e7 100644 (file)
@@ -73,7 +73,7 @@
               - if featured_tag.last_status_at.nil?
                 = t('accounts.nothing_here')
               - else
-                %time{ datetime: featured_tag.last_status_at.iso8601, title: l(featured_tag.last_status_at) }= l featured_tag.last_status_at
+                %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
 
     = render 'application/sidebar'