DateTime.now => Time.zone.now

This commit is contained in:
simon lehericey 2018-10-25 15:07:15 +02:00
parent 4f1cc8a2f0
commit 13ffa61435
26 changed files with 39 additions and 39 deletions

View file

@ -24,7 +24,7 @@ class ProcedureOverview
@created_dossiers_count = procedure
.dossiers
.where(created_at: start_date..DateTime.now)
.where(created_at: start_date..Time.zone.now)
.state_not_brouillon
.count
end