use I18n.l() instead of strftime(): Changeset dates will now appear localized
This commit is contained in:
parent
718d0ccf3c
commit
6c034ee9fe
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue