We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9270165 commit fca9caaCopy full SHA for fca9caa
utils/patch_helper.py
@@ -84,11 +84,7 @@ def get_prs_by_label(label):
84
prs = json.loads(result.stdout)
85
for pr in prs:
86
pr["oid"] = pr.get("mergeCommit", {}).get("oid")
87
- if pr["oid"]:
88
- pr["timestamp"] = datetime.fromisoformat(pr["mergeCommit"]["committedDate"].replace("Z", "+00:00"))
89
- else:
90
- pr["timestamp"] = None
91
- return [pr.get("mergeCommit") for pr in prs if pr.get("mergeCommit")]
+ return [pr for pr in prs if pr.get("mergeCommit")]
92
93
def get_commit_timestamp(commit_sha):
94
"""Get UNIX timestamp of a commit using git."""
0 commit comments