Add CommentaireDecorator test
This commit is contained in:
parent
a6ff698cf8
commit
02ec901777
2 changed files with 10 additions and 2 deletions
|
@ -3,7 +3,5 @@ class CommentaireDecorator < Draper::Decorator
|
|||
|
||||
def created_at_fr
|
||||
created_at.localtime.strftime('%d/%m/%Y - %H:%M')
|
||||
rescue
|
||||
'dd/mm/YYYY - HH:MM'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue