DEV: Use short_date helper for email post template (#10063)

This commit is contained in:
Penar Musaraj
2020-06-17 11:29:37 -04:00
committed by GitHub
parent e29afa200a
commit 76b05ef8ad
2 changed files with 1 additions and 9 deletions

View File

@@ -20,7 +20,7 @@
<span class='user-title'><%= post.user.title %></span>
<% end %>
<br>
<span class='notification-date'><%= l post.created_at, format: :short_no_year %></span>
<span class='notification-date'><%= short_date(post.created_at) %></span>
</td>
</tr>
</table>