diff --git a/app/views/my_modules/_card_due_date_label.html.erb b/app/views/my_modules/_card_due_date_label.html.erb index 4f3542788..25bc6447c 100644 --- a/app/views/my_modules/_card_due_date_label.html.erb +++ b/app/views/my_modules/_card_due_date_label.html.erb @@ -1,29 +1,29 @@ <% if my_module.completed? %> - <%= t("my_modules.states.completed") %> + <%= t('my_modules.states.completed') %> - <%= l(my_module.completed_on.utc, format: :full_date) %> + <%= l(my_module.completed_on, format: :full_date) %> <% elsif my_module.is_one_day_prior? %> - <%= t("my_modules.states.due_soon") %> + <%= t('my_modules.states.due_soon') %> - <%=l my_module.due_date.utc, format: :full_date %> + <%= l(my_module.due_date, format: :full_date) %> <% elsif my_module.is_overdue? %> - <%= t("my_modules.states.overdue") %> + <%= t('my_modules.states.overdue') %> - <%=l my_module.due_date.utc, format: :full_date %> + <%= l(my_module.due_date, format: :full_date) %> <% elsif my_module.due_date %> - <%= t("experiments.canvas.full_zoom.due_date") %> + <%= t('experiments.canvas.full_zoom.due_date') %> - <%=l my_module.due_date.utc, format: :full_date %> + <%= l(my_module.due_date, format: :full_date) %> <% else %> - <%= t("experiments.canvas.full_zoom.due_date") %> + <%= t('experiments.canvas.full_zoom.due_date') %> - <%=t "experiments.canvas.full_zoom.no_due_date" %> + <%= t('experiments.canvas.full_zoom.no_due_date') %> <% end %>