Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Feb 20, 2024
1 parent 2c551f8 commit 973abef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/people/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def get_contributors(settings: Settings):
score = _logistic(files_changed, 20) + _logistic(lines_changed, 100)
contributor_scores[pr.author.login] += score
three_months_ago = (datetime.now(timezone.utc) - timedelta(days=3*30))
if pr.createdAt is not None and datetime.fromisoformat(pr.createdAt) > three_months_ago:
if pr.createdAt > three_months_ago:
recent_contributor_scores[pr.author.login] += score
return contributors, contributor_scores, recent_contributor_scores, reviewers, authors

Expand Down

0 comments on commit 973abef

Please sign in to comment.