diff options
author | Brendan Deere <brendan@stembolt.com> | 2017-01-11 15:52:57 -0800 |
---|---|---|
committer | Brendan Deere <brendan@stembolt.com> | 2017-01-12 15:43:15 -0800 |
commit | 02fbb605d4825e5dbc6bc7df4db39c01511ddf14 (patch) | |
tree | 7c89297ce8418144158e2ae8261bd040bb4a22d6 /app/models/solidus_subscriptions/installment.rb | |
parent | c11fad93d597fc52cf13eb2e2577471b3038601e (diff) |
Installment#actionable_date is a DateTime
Increase actionable date granularity by tracking it as a date time
Diffstat (limited to 'app/models/solidus_subscriptions/installment.rb')
-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 b98ced6..09e8a03 100644 --- a/app/models/solidus_subscriptions/installment.rb +++ b/app/models/solidus_subscriptions/installment.rb @@ -119,7 +119,7 @@ module SolidusSubscriptions end def next_actionable_date - Date.current + Config.reprocessing_interval + (DateTime.current + Config.reprocessing_interval).beginning_of_minute end end end |