diff --git a/lib/github_changelog_generator/generator/generator_fetcher.rb b/lib/github_changelog_generator/generator/generator_fetcher.rb index 73c6de5..73fb24f 100644 --- a/lib/github_changelog_generator/generator/generator_fetcher.rb +++ b/lib/github_changelog_generator/generator/generator_fetcher.rb @@ -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]