Use time with zone

This commit is contained in:
Pau Perez
2021-04-14 08:43:15 +02:00
parent fcb013eb2a
commit f785851236

View File

@@ -47,7 +47,7 @@ class PlaceOrder
end
def mark_as_processed
proxy_order.update_column(:placed_at, Time.now)
proxy_order.update_column(:placed_at, Time.zone.now)
end
def load_changes