From c30ced20601173afdce0d8d07cc94d43418e7666 Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Sun, 4 Apr 2021 12:27:46 -0700 Subject: [PATCH] put Time.zone back --- app/jobs/subscription_placement_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/subscription_placement_job.rb b/app/jobs/subscription_placement_job.rb index 793c0b7f7a5..69bcaea69e8 100644 --- a/app/jobs/subscription_placement_job.rb +++ b/app/jobs/subscription_placement_job.rb @@ -31,7 +31,7 @@ def place_order_for(proxy_order) initialise_order(proxy_order) return unless proxy_order.order.present? - proxy_order.update_column(:placed_at, Time.now) + proxy_order.update_column(:placed_at, Time.zone.now) place_order(proxy_order.order) end