Merge pull request #3248 from betagouv/advance-helpscout-start-date

stats: start helpscout stats at 01-2018
This commit is contained in:
Pierre de La Morinerie 2019-01-03 17:27:50 +01:00 committed by GitHub
commit 3ed3b77e55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,7 +165,7 @@ class StatsController < ApplicationController
end
def contact_percentage
from = Date.new(2017, 10)
from = Date.new(2018, 1)
to = Date.today.prev_month
Helpscout::UserConversationsAdapter.new(from, to)