Format dates using CommonAPI utils.
This commit is contained in:
parent
918e1353f6
commit
93e9c0cedf
2 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<div class="activity" <%= if @selected do %> id="selected" <% end %>>
|
||||
<p class="pull-right">
|
||||
<%= link @published, to: @link, class: "activity-link" %>
|
||||
<%= link format_date(@published), to: @link, class: "activity-link" %>
|
||||
</p>
|
||||
<%= render("_user_card.html", %{user: @user}) %>
|
||||
<div class="activity-content">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue