diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-24 08:58:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-24 08:58:03 +0000 |
commit | 11346455a120b2260ad83f06ac9747fd946a39ef (patch) | |
tree | 92356c19a328bc5535aac3180d1a460a43d0a72d /app/helpers/timelog_helper.rb | |
parent | 86adcdf8bb917a46d96eec7bbde0e0456a897616 (diff) | |
download | redmine-11346455a120b2260ad83f06ac9747fd946a39ef.tar.gz redmine-11346455a120b2260ad83f06ac9747fd946a39ef.zip |
Fixed: Details time log report CSV export doesn't honour date format from settings (patch #2466 by Russell Hind).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2302 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/timelog_helper.rb')
-rw-r--r-- | app/helpers/timelog_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb index f55a8ffe7..f068b4db8 100644 --- a/app/helpers/timelog_helper.rb +++ b/app/helpers/timelog_helper.rb @@ -16,6 +16,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. module TimelogHelper + include ApplicationHelper + def render_timelog_breadcrumb links = [] links << link_to(l(:label_project_all), {:project_id => nil, :issue_id => nil}) @@ -81,7 +83,7 @@ module TimelogHelper csv << headers.collect {|c| begin; ic.iconv(c.to_s); rescue; c.to_s; end } # csv lines entries.each do |entry| - fields = [l_date(entry.spent_on), + fields = [format_date(entry.spent_on), entry.user, entry.activity, entry.project, |