##// END OF EJS Templates
Fixed: Date and time formats defined in settings not applied to the issues CSV export....
Jean-Philippe Lang -
r928:3f2f7153a902
parent child
Show More
@@ -18,6 +18,7
18 require 'csv'
18 require 'csv'
19
19
20 module IssuesHelper
20 module IssuesHelper
21 include ApplicationHelper
21
22
22 def render_issue_tooltip(issue)
23 def render_issue_tooltip(issue)
23 @cached_label_start_date ||= l(:field_start_date)
24 @cached_label_start_date ||= l(:field_start_date)
@@ -142,11 +143,11 module IssuesHelper
142 issue.category,
143 issue.category,
143 issue.fixed_version,
144 issue.fixed_version,
144 issue.author.name,
145 issue.author.name,
145 issue.start_date ? l_date(issue.start_date) : nil,
146 format_date(issue.start_date),
146 issue.due_date ? l_date(issue.due_date) : nil,
147 format_date(issue.due_date),
147 issue.done_ratio,
148 issue.done_ratio,
148 l_datetime(issue.created_on),
149 format_time(issue.created_on),
149 l_datetime(issue.updated_on)
150 format_time(issue.updated_on)
150 ]
151 ]
151 custom_fields.each {|f| fields << show_value(issue.custom_value_for(f)) }
152 custom_fields.each {|f| fields << show_value(issue.custom_value_for(f)) }
152 csv << fields.collect {|c| begin; ic.iconv(c.to_s); rescue; c.to_s; end }
153 csv << fields.collect {|c| begin; ic.iconv(c.to_s); rescue; c.to_s; end }
General Comments 0
You need to be logged in to leave comments. Login now