date类型转换成string类型
This commit is contained in:
parent
6aa332d1f6
commit
c339e9071b
|
@ -710,7 +710,7 @@ update
|
||||||
all_author << cba.first
|
all_author << cba.first
|
||||||
end
|
end
|
||||||
all_author = all_author.collect {|c| c.gsub(%r{<.+@.+>}, '') }
|
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}"
|
Rails.logger.debug "######################################{commits_by_author}"
|
||||||
|
|
||||||
fields = commits_by_author.collect {|r| r.first}
|
fields = commits_by_author.collect {|r| r.first}
|
||||||
|
|
Loading…
Reference in New Issue