diff options
author | Brendan Deere <brendan@stembolt.com> | 2016-09-28 09:30:44 -0700 |
---|---|---|
committer | Brendan Deere <brendan@stembolt.com> | 2016-09-28 09:30:44 -0700 |
commit | aa929eba585de995f9d0b6c4da3f93f6e208eb70 (patch) | |
tree | d8487fc3b390b49a664c1d9a11f80e5f46a9b58e /app/models/solidus_subscriptions | |
parent | e2a93f917fa2877c1f63f55d62bd9024d80bb4e1 (diff) |
Prefer Date.current over Date.today
The gem should be timezone aware
Diffstat (limited to 'app/models/solidus_subscriptions')
-rw-r--r-- | app/models/solidus_subscriptions/installment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |