use I18n.l() instead of strftime(): Changeset dates will now appear localized

This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-07-29 10:43:03 +00:00
parent 718d0ccf3c
commit 6c034ee9fe

View file

@ -7,7 +7,7 @@
<td class="<%= cl %> date">
<% if changeset.closed_at > DateTime.now %> <%= t'changeset.changeset.still_editing' %>
<% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %>
<% else %><%= l changeset.closed_at, :format => :short %><% end %>
</td>