date类型转换成string类型

szzh
huang 10 years ago
parent 6aa332d1f6
commit c339e9071b

@ -710,7 +710,7 @@ update
all_author << cba.first
end
all_author = all_author.collect {|c| c.gsub(%r{<.+@.+>}, '') }
commits_by_author = repository.commits(all_author, @date_from, @date_to)
commits_by_author = repository.commits(all_author, "#{@date_from}", "#{@date_to}")
Rails.logger.debug "######################################{commits_by_author}"
fields = commits_by_author.collect {|r| r.first}

Loading…
Cancel
Save