[Fix #589] When getting birthdate from France Connect format it to ISO
This commit is contained in:
parent
3804ab5911
commit
a3b069e501
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Users::DossiersController < UsersController
|
||||||
individual.update_column :gender, @facade.dossier.france_connect_information.gender
|
individual.update_column :gender, @facade.dossier.france_connect_information.gender
|
||||||
individual.update_column :nom, @facade.dossier.france_connect_information.family_name
|
individual.update_column :nom, @facade.dossier.france_connect_information.family_name
|
||||||
individual.update_column :prenom, @facade.dossier.france_connect_information.given_name
|
individual.update_column :prenom, @facade.dossier.france_connect_information.given_name
|
||||||
individual.update_column :birthdate, @facade.dossier.france_connect_information.birthdate.strftime("%d/%m/%Y")
|
individual.update_column :birthdate, @facade.dossier.france_connect_information.birthdate.iso8601
|
||||||
end
|
end
|
||||||
|
|
||||||
rescue ActiveRecord::RecordNotFound
|
rescue ActiveRecord::RecordNotFound
|
||||||
|
|
Loading…
Reference in a new issue