Skip to content

Commit

Permalink
put Time.zone back
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbrett committed Apr 4, 2021
1 parent 61a3931 commit c30ced2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/subscription_placement_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c30ced2

Please sign in to comment.