Revision 840
Added by Jean-Philippe Lang over 17 years ago
trunk/app/helpers/application_helper.rb | ||
---|---|---|
70 | 70 |
|
71 | 71 |
def format_date(date) |
72 | 72 |
return nil unless date |
73 |
@date_format ||= (Setting.date_format.to_i == 0 ? l(:general_fmt_date) : date.strftime("%Y-%m-%d"))
|
|
73 |
@date_format ||= (Setting.date_format.to_i == 0 ? l(:general_fmt_date) : "%Y-%m-%d")
|
|
74 | 74 |
date.strftime(@date_format) |
75 | 75 |
end |
76 | 76 |
|
Also available in: Unified diff
Fixed: 'Issues' table shows weird date for 'Start' and 'Due date' columns