Remove seconds from date display
This commit is contained in:
parent
d6b92fc604
commit
eab82269c1
|
@ -205,7 +205,7 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def display_date_time(object)
|
def display_date_time(object)
|
||||||
object.strftime("%Y-%m-%d %H:%M:%S")
|
object.strftime("%Y-%m-%d %H:%M")
|
||||||
end
|
end
|
||||||
|
|
||||||
def display_date(object)
|
def display_date(object)
|
||||||
|
|
Reference in New Issue