Project

General

Profile

Patch #2466 ยป timelog_helper_patch.diff

Path for app/helpers/timelog_helper.rb - Anonymous, 2009-01-08 08:41

View differences:

app/helpers/timelog_helper.rb (working copy)
16 16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 17

  
18 18
module TimelogHelper
19
  include ApplicationHelper
20

  
19 21
  def render_timelog_breadcrumb
20 22
    links = []
21 23
    links << link_to(l(:label_project_all), {:project_id => nil, :issue_id => nil})
......
81 83
      csv << headers.collect {|c| begin; ic.iconv(c.to_s); rescue; c.to_s; end }
82 84
      # csv lines
83 85
      entries.each do |entry|
84
        fields = [l_date(entry.spent_on),
86
	fields = [format_date(entry.spent_on),
85 87
                  entry.user,
86 88
                  entry.activity,
87 89
                  entry.project,
    (1-1/1)