diff --git a/app/views/court_dates/_fields.html.erb b/app/views/court_dates/_fields.html.erb
index d2e51398d4..caf9dbc581 100644
--- a/app/views/court_dates/_fields.html.erb
+++ b/app/views/court_dates/_fields.html.erb
@@ -1,15 +1,13 @@
<%= form.label :date, "Add Court Date" %>
- <%= form.text_field :date,
+ <%= form.date_field :date,
value: court_date.date&.to_date || Time.zone.now,
- data: {provide: "datepicker", date_format: "yyyy/mm/dd"},
class: "form-control" %>
<%= form.label :court_report_due_date, "Add Court Report Due Date" %>
- <%= form.text_field :court_report_due_date,
+ <%= form.date_field :court_report_due_date,
value: court_date.court_report_due_date&.to_date,
- data: {provide: "datepicker", date_format: "yyyy/mm/dd"},
class: "form-control" %>
diff --git a/app/views/learning_hours/show.html.erb b/app/views/learning_hours/show.html.erb
index e975a23b45..856df5b731 100644
--- a/app/views/learning_hours/show.html.erb
+++ b/app/views/learning_hours/show.html.erb
@@ -21,7 +21,7 @@
<%= @learning_hour.name %> |
<%= @learning_hour.learning_hour_type.name %> |
- <%= @learning_hour.occurred_at.strftime("%B %d, %Y") %> |
+ <%= I18n.l(@learning_hour.occurred_at, format: :full) %> |
<% if (@learning_hour.duration_hours > 0) %>
<%= @learning_hour.duration_hours %> hr
diff --git a/app/views/mileage_rates/_form.html.erb b/app/views/mileage_rates/_form.html.erb
index cbed07be03..a94f1a1452 100644
--- a/app/views/mileage_rates/_form.html.erb
+++ b/app/views/mileage_rates/_form.html.erb
@@ -18,10 +18,9 @@
<%= form.label :effective_date, 'Effective date' %>
- <%= form.text_field :effective_date, value: effective_date_parser(mileage_rate.effective_date),
- data: { provide: "datepicker",
- date_format: ::DateHelper::JQUERY_MONTH_DAY_YEAR_FORMAT },
- class: "form-control" %>
+ <%= form.date_field :effective_date,
+ value: mileage_rate.effective_date,
+ class: "form-control" %>
|