@@ -70,7 +70,7 module ApplicationHelper | |||||
70 |
|
70 | |||
71 | def format_date(date) |
|
71 | def format_date(date) | |
72 | return nil unless date |
|
72 | return nil unless date | |
73 |
@date_format ||= (Setting.date_format.to_i == 0 ? l(:general_fmt_date) : |
|
73 | @date_format ||= (Setting.date_format.to_i == 0 ? l(:general_fmt_date) : "%Y-%m-%d") | |
74 | date.strftime(@date_format) |
|
74 | date.strftime(@date_format) | |
75 | end |
|
75 | end | |
76 |
|
76 |
General Comments 0
You need to be logged in to leave comments.
Login now