Skip to content

Commit d9908ba

Browse files
committed
fix rstrip
1 parent dce4abe commit d9908ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devstats/reports/issue_time_to_response.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ for iss in commented_issues:
2828
# This can happen e.g. when a user deletes their GH acct
2929
user = "UNKNOWN"
3030
first_commenters.append(user)
31-
dt = (np.datetime64(e["node"]["createdAt"]).rstrip("Z")
32-
- np.datetime64(iss["createdAt"]).rstrip("Z"))
31+
dt = (np.datetime64(e["node"]["createdAt"].rstrip("Z"))
32+
- np.datetime64(iss["createdAt"].rstrip("Z")))
3333
time_to_first_comment.append(dt.astype("m8[m]"))
3434
break # Only want the first commenter
3535
time_to_first_comment = np.array(time_to_first_comment) # in minutes

0 commit comments

Comments
 (0)