This commit is contained in:
Petr Korolev 2015-02-09 17:52:45 +02:00
parent 69e3b17d8b
commit cf4692c7b0

View File

@ -294,7 +294,7 @@ module GitHubChangelogGenerator
def delete_by_time(array, hash_key, newer_tag_time, older_tag_time = nil) def delete_by_time(array, hash_key, newer_tag_time, older_tag_time = nil)
array.select { |req| array.select { |req|
if req[hash_key] if req[hash_key]
t = Time.parse(req[hash_key]).utc t = Time.parse(req[hash_key]).utc - 60
if older_tag_time.nil? if older_tag_time.nil?
tag_in_range_old = true tag_in_range_old = true