Skip to content

Commit

Permalink
Convet time with strftime
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski committed Jan 9, 2024
1 parent 6681fad commit ab5b4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/spree/admin/promotions/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<td><%= promotion.description %></td>
<td><%= promotion.usage_limit.nil? ? "∞" : promotion.usage_limit %></td>
<td><%= Spree.t(:current_promotion_usage, count: promotion.credits_count) %></td>
<td><%= promotion.expires_at.to_date if promotion.expires_at %></td>
<td><%= promotion.expires_at.strftime('%F %T %Z') if promotion.expires_at %></td>
<td class="actions" data-hook="admin_promotions_index_row_actions">
<span class="d-flex justify-content-end">
<%= link_to_edit promotion, no_text: true if can?(:edit, promotion) %>
Expand Down

0 comments on commit ab5b4d5

Please sign in to comment.