Skip to content

Commit

Permalink
Don't use the database localization for UI purposes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mamhoff committed Nov 8, 2023
1 parent d2db9cc commit 3a2664f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
<%= promotion.usage_count %> / <%= promotion.usage_limit %>
<% end %>
<td>
<%= promotion.starts_at.to_fs(:long) if promotion.starts_at %>
<%= l(promotion.starts_at) if promotion.starts_at %>
</td>
<td>
<%= promotion.expires_at.to_fs(:long) if promotion.expires_at %>
<%= l(promotion.expires_at) if promotion.expires_at %>
</td>
<td>
<%= SolidusFriendlyPromotions::Promotion.human_enum_name(:lane, promotion.lane) %>
Expand Down

0 comments on commit 3a2664f

Please sign in to comment.