mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-16 05:58:12 +00:00
Do not use GLoc's l_date.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1397 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
de27a60245
commit
6054b8a430
@ -16,6 +16,8 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
module TimelogHelper
|
||||
include ApplicationHelper
|
||||
|
||||
def select_hours(data, criteria, value)
|
||||
data.select {|row| row[criteria] == value}
|
||||
end
|
||||
@ -60,7 +62,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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user