diff --git a/app/views/admin/banners/_form.html.erb b/app/views/admin/banners/_form.html.erb
index 9d9022b7b..844d3888a 100644
--- a/app/views/admin/banners/_form.html.erb
+++ b/app/views/admin/banners/_form.html.erb
@@ -5,17 +5,11 @@
<%= render "shared/errors", resource: @banner %>
- <% date_started_at = @banner.post_started_at.present? ? I18n.localize(@banner.post_started_at) : "" %>
- <%= f.date_field :post_started_at,
- value: date_started_at,
- id: "post_started_at" %>
+ <%= f.date_field :post_started_at, id: "post_started_at" %>
- <% date_ended_at = @banner.post_ended_at.present? ? I18n.localize(@banner.post_ended_at) : "" %>
- <%= f.date_field :post_ended_at,
- value: date_ended_at,
- id: "post_ended_at" %>
+ <%= f.date_field :post_ended_at, id: "post_ended_at" %>