Remove seconds from date display

This commit is contained in:
Christophe Vilayphiou 2012-05-22 20:19:04 +08:00
parent d6b92fc604
commit eab82269c1
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ module ApplicationHelper
end
def display_date_time(object)
object.strftime("%Y-%m-%d %H:%M:%S")
object.strftime("%Y-%m-%d %H:%M")
end
def display_date(object)