mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-09 03:20:21 +00:00
use to_date for locale based formating
This commit is contained in:
committed by
Rachel Arnould
parent
68c0d98736
commit
ec0d2d346b
@@ -63,10 +63,10 @@ RSpec.describe "Pay Your Suppliers Report" do
|
||||
hub.address.full_address,
|
||||
"none",
|
||||
order.number,
|
||||
order.completed_at.strftime("%d/%m/%Y"),
|
||||
order.completed_at.to_date.to_s,
|
||||
order_cycle.name,
|
||||
order_cycle.orders_open_at.strftime("%d/%m/%Y"),
|
||||
order_cycle.orders_close_at.strftime("%d/%m/%Y"),
|
||||
order_cycle.orders_open_at.to_date.to_s,
|
||||
order_cycle.orders_close_at.to_date.to_s,
|
||||
product.name,
|
||||
variant.full_name,
|
||||
'1',
|
||||
|
||||
Reference in New Issue
Block a user