summaryrefslogtreecommitdiff
path: root/app/models/solidus_subscriptions
diff options
context:
space:
mode:
authorBrendan Deere <brendangdeere@gmail.com>2016-09-28 09:54:59 -0700
committerGitHub <noreply@github.com>2016-09-28 09:54:59 -0700
commita0150954d6c00e625e4f0ca934e8965ebb1899ec (patch)
treed8487fc3b390b49a664c1d9a11f80e5f46a9b58e /app/models/solidus_subscriptions
parente2a93f917fa2877c1f63f55d62bd9024d80bb4e1 (diff)
parentaa929eba585de995f9d0b6c4da3f93f6e208eb70 (diff)
Merge pull request #63 from brendandeere/fix_timezone_nonsense
Prefer Date.current over Date.today
Diffstat (limited to 'app/models/solidus_subscriptions')
-rw-r--r--app/models/solidus_subscriptions/installment.rb2
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