DateTime.now => Time.zone.now
This commit is contained in:
parent
4f1cc8a2f0
commit
13ffa61435
26 changed files with 39 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue