Fix bug enterprise's date_creation
This commit is contained in:
parent
cef48fb03c
commit
68bb4935e7
8 changed files with 30 additions and 20 deletions
|
@ -15,6 +15,8 @@ class SIADE::EntrepriseAdapter
|
|||
data_source[:entreprise].each do |k, v|
|
||||
params[k] = v if attr_to_fetch.include?(k)
|
||||
end
|
||||
params[:date_creation] = Time.at(params[:date_creation]).to_datetime
|
||||
|
||||
params
|
||||
rescue
|
||||
nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue