changed the format of how dates are fetched from commit
This commit is contained in:
parent
52233f44f7
commit
d7b88a521a
|
@ -73,7 +73,8 @@ module GitHubChangelogGenerator
|
|||
else
|
||||
begin
|
||||
commit = @fetcher.fetch_commit(event)
|
||||
issue[:actual_date] = commit[:author][:date]
|
||||
issue[:actual_date] = commit[:commit][:author][:date]
|
||||
# issue[:actual_date] = commit[:author][:date]
|
||||
rescue
|
||||
puts "Warning: Can't fetch commit #{event[:commit_id]}. It is probably referenced from another repo."
|
||||
issue[:actual_date] = issue[:closed_at]
|
||||
|
|
Loading…
Reference in New Issue
Block a user