Localize date format via rails-i18n

This commit is contained in:
Andreas Haller 2015-05-17 19:19:59 +02:00
parent b1197df490
commit ff58856c99
3 changed files with 6 additions and 1 deletions

View file

@ -17,7 +17,7 @@ div
'
small = doc.originator
'
small = doc.published_at
small = l doc.published_at.to_date
= link_to doc.url, target: '_blank' do
div = doc.name