Changes for dat and time format
Impression bug when some i18n missing in impressionable object JS bug in ad_banner edit title
This commit is contained in:
1 parent
e1bd5d8c8d
commit
4d33c7a56d
24 files changed
+57
-46
No files matched your search
@@ -204,4 +204,12 @@ module ApplicationHelper
|
||||
is_manager? || is_admin?
|
||||
end
|
||||
|
||||
def display_date_time(object)
|
||||
object.strftime("%Y-%m-%d %H:%M:%S")
|
||||
end
|
||||
|
||||
def display_date(object)
|
||||
object.strftime("%Y-%m-%d")
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user