Merge pull request #10454 from demarches-simplifiees/9827-add-specs
corrige quelques bugs de la feature export template (renommage dans le zip)
This commit is contained in:
commit
45814fdbfb
14 changed files with 282 additions and 69 deletions
|
@ -307,7 +307,8 @@ module TagsSubstitutionConcern
|
|||
|
||||
def format_date(date)
|
||||
if date.present?
|
||||
date.strftime('%d/%m/%Y')
|
||||
format = defined?(self.class::FORMAT_DATE) ? self.class::FORMAT_DATE : '%d/%m/%Y'
|
||||
date.strftime(format)
|
||||
else
|
||||
''
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue