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
|
||||
|
||||
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
|
||||
'dd/mm/YYYY - HH:MM'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue