diff --git a/app/views/institutions/index.html.erb b/app/views/institutions/index.html.erb index e90d6f2..850ff81 100644 --- a/app/views/institutions/index.html.erb +++ b/app/views/institutions/index.html.erb @@ -30,7 +30,7 @@ <%= institution.name %> <%= institution.description %> <%= institution.category %> - <%= I18n.l institution.created_at %> + <%= I18n.l(institution.created_at, format: :short) %> <%= link_to edit_institution_path(institution), class: "btn-floating blue" do %> edit diff --git a/app/views/jobs/show.html.erb b/app/views/jobs/show.html.erb index 2b408a5..67f9ac2 100644 --- a/app/views/jobs/show.html.erb +++ b/app/views/jobs/show.html.erb @@ -26,10 +26,10 @@
<%= Job.human_attribute_name(:start_date) %>: -
<%= @job.start_date %>
+
<%= I18n.l(@job.start_date.to_date ) %>

<%= Job.human_attribute_name(:end_date) %>: -
<%= @job.end_date %>
+
<%= I18n.l(@job.end_date.to_date ) %>