调整时间区段

This commit is contained in:
huang 2015-07-25 11:20:11 +08:00
parent ea03386ec1
commit 59a3072f81
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ update
end
# all_author = all_author.collect {|c| c.gsub(%r{/ /<.+@.+>}, '') }
all_author = all_author.collect {|c| c.split.first }
commits_by_author = repository.commits(all_author, "2015-01-24", "2015-07-24")
commits_by_author = repository.commits(all_author, "2014-01-24", "2015-07-24")
Rails.logger.debug "######################################{commits_by_author}"
fields = commits_by_author.collect {|r| r.first}