Merge pull request #853 from sgmap/fix-848
[Fix #848] Correctly format the dates in the Identité part
This commit is contained in:
commit
e1e0d021d0
2 changed files with 4 additions and 4 deletions
|
@ -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")
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
%td= individual.nom
|
||||
%tr
|
||||
%th Date de naissance :
|
||||
%td= individual.birthdate
|
||||
%td= Date.parse(individual.birthdate).strftime("%d/%m/%Y")
|
||||
|
|
Loading…
Reference in a new issue