From aa929eba585de995f9d0b6c4da3f93f6e208eb70 Mon Sep 17 00:00:00 2001 From: Brendan Deere Date: Wed, 28 Sep 2016 09:30:44 -0700 Subject: Prefer Date.current over Date.today The gem should be timezone aware --- app/models/solidus_subscriptions/installment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/solidus_subscriptions/installment.rb') diff --git a/app/models/solidus_subscriptions/installment.rb b/app/models/solidus_subscriptions/installment.rb index 3af9b52..fcfe652 100644 --- a/app/models/solidus_subscriptions/installment.rb +++ b/app/models/solidus_subscriptions/installment.rb @@ -75,7 +75,7 @@ module SolidusSubscriptions end def next_actionable_date - Date.today + Config.reprocessing_interval + Date.current + Config.reprocessing_interval end end end -- cgit v1.2.3