From cf4692c7b02e969c53f1f362b490f4b9b6d49c63 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Mon, 9 Feb 2015 17:52:45 +0200 Subject: [PATCH] fix #37 --- lib/github_changelog_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator.rb b/lib/github_changelog_generator.rb index 9f8124e..51f92f1 100755 --- a/lib/github_changelog_generator.rb +++ b/lib/github_changelog_generator.rb @@ -294,7 +294,7 @@ module GitHubChangelogGenerator def delete_by_time(array, hash_key, newer_tag_time, older_tag_time = nil) array.select { |req| if req[hash_key] - t = Time.parse(req[hash_key]).utc + t = Time.parse(req[hash_key]).utc - 60 if older_tag_time.nil? tag_in_range_old = true