fix #37
This commit is contained in:
parent
69e3b17d8b
commit
cf4692c7b0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user