Added module for helper functions; added helper for formatting date consistently

This commit is contained in:
2023-07-05 22:27:07 -04:00
parent 291db231d5
commit 691e2e9b1e
4 changed files with 16 additions and 4 deletions

View File

@ -27,8 +27,8 @@
<tr>
<td><%= h.name %></td>
<td><%= h.type %></td>
<td><%= h.created_at %></td>
<td><%= h.updated_at %></td>
<td><%= date_format(h.created_at) %></td>
<td><%= date_format(h.updated_at) %></td>
</tr>
<% end %>
</tbody>