Merge pull request #853 from sgmap/fix-848

[Fix #848] Correctly format the dates in the Identité part
This commit is contained in:
gregoirenovel 2017-10-17 11:32:39 +02:00 committed by GitHub
commit e1e0d021d0
2 changed files with 4 additions and 4 deletions

View file

@ -59,10 +59,10 @@
%td= entreprise.rna_information.objet
%tr
%th Date de création :
%td= entreprise.rna_information.date_creation
%td= entreprise.rna_information.date_creation.strftime("%d/%m/%Y")
%tr
%th Date de publication :
%td= entreprise.rna_information.date_publication
%td= entreprise.rna_information.date_publication.strftime("%d/%m/%Y")
%tr
%th Date de déclaration :
%td= entreprise.rna_information.date_declaration
%td= entreprise.rna_information.date_declaration.strftime("%d/%m/%Y")

View file

@ -11,4 +11,4 @@
%td= individual.nom
%tr
%th Date de naissance :
%td= individual.birthdate
%td= Date.parse(individual.birthdate).strftime("%d/%m/%Y")