style check
This commit is contained in:
parent
5fea76bfef
commit
3c7d291c52
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class CommentaireDecorator < Draper::Decorator
|
||||||
delegate_all
|
delegate_all
|
||||||
|
|
||||||
def created_at_fr
|
def created_at_fr
|
||||||
created_at.to_datetime.strftime("%d/%m/%Y - %H:%M")
|
created_at.to_datetime.strftime('%d/%m/%Y - %H:%M')
|
||||||
rescue
|
rescue
|
||||||
'dd/mm/YYYY - HH:MM'
|
'dd/mm/YYYY - HH:MM'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue