about summary refs log tree commit diff
path: root/app/views/stream_entries
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-05-25 21:09:25 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-25 14:09:25 +0200
commit531c1bb245b01eb78e142da92ca2f3d46c261579 (patch)
tree65ec5d05f10a339755596f915dd333d32a51c405 /app/views/stream_entries
parent58f5040ee8cfb1230477ac3ac2cbe9144815520c (diff)
Add localization of datetime in public page (#3296)
Diffstat (limited to 'app/views/stream_entries')
-rw-r--r--app/views/stream_entries/_detailed_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/_detailed_status.html.haml b/app/views/stream_entries/_detailed_status.html.haml
index d22afb082..a3e2f766e 100644
--- a/app/views/stream_entries/_detailed_status.html.haml
+++ b/app/views/stream_entries/_detailed_status.html.haml
@@ -31,7 +31,7 @@
   .detailed-status__meta
     %data.dt-published{ value: status.created_at.to_time.iso8601 }
     = link_to TagManager.instance.url_for(status), class: 'detailed-status__datetime u-url u-uid', target: stream_link_target, rel: 'noopener' do
-      %time{ datetime: status.created_at.iso8601, title: l(status.created_at), data: { format: t('time.formats.default') } }= l(status.created_at)
+      %time.formatted{ datetime: status.created_at.iso8601, title: l(status.created_at) }= l(status.created_at)
     ·
     - if status.application
       - if status.application.website.blank?