app/views/spree/admin/variants/_form.html.erb in spree_backend-4.2.0.rc5 vs app/views/spree/admin/variants/_form.html.erb in spree_backend-4.2.0

- old
+ new

@@ -42,10 +42,10 @@ <div class="form-group" data-hook="discontinue_on"> <%= f.label :discontinue_on, Spree.t(:discontinue_on) %> <%= f.error_message_on :discontinue_on %> <div class="input-group datepicker" data-wrap="true" - data-date-format="<%= Spree.t(:js_format, scope: 'date_picker', default: 'Y/m/d') %>"> + data-alt-format="<%= Spree.t(:fpr_human_friendly_date_format, scope: 'date_picker', default: 'M j, Y') %>"> <%= f.text_field :discontinue_on, value: datepicker_field_value(@variant.discontinue_on), placeholder: Spree.t(:select_a_date), class: 'form-control shadow-none', 'data-input':'' %>