时间区间测试

This commit is contained in:
huang 2015-07-25 00:05:28 +08:00
parent c339e9071b
commit 088e9b200a
1 changed files with 1 additions and 1 deletions

View File

@ -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, "2015-01-24", "2015-07-24")
Rails.logger.debug "######################################{commits_by_author}"
fields = commits_by_author.collect {|r| r.first}