fix date issue with mySQL only
This commit is contained in:
parent
9e0102e494
commit
f9de157e70
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module Gitlab
|
|||
YAML.load(commits).find do |commit|
|
||||
next unless commit[:committed_date] && event['first_mentioned_in_commit_at']
|
||||
|
||||
commit[:committed_date].to_i == DateTime.parse(event['first_mentioned_in_commit_at']).to_i
|
||||
commit[:committed_date].to_i == DateTime.parse(event['first_mentioned_in_commit_at'].to_s).to_i
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue