NewClaim does not properly set the timestamp for when the selection was gained, instead using 0 (CurrentTime). It should instead use the timestamp of the event that caused the selection to be gained. We can't modify NewClaim to take in a timestamp parameter for two reasons:
The API is stable
We should still use CurrentTime when the claim was not triggered by an input event
Instead, we should create a different constructor that takes in a timestamp. Possibly NewClaimWithTimestamp or something.
NewClaim does not properly set the timestamp for when the selection was gained, instead using 0 (CurrentTime). It should instead use the timestamp of the event that caused the selection to be gained. We can't modify NewClaim to take in a timestamp parameter for two reasons:
1. The API is stable
2. We should still use CurrentTime when the claim was not triggered by an input event
Instead, we should create a different constructor that takes in a timestamp. Possibly NewClaimWithTimestamp or something.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
NewClaim does not properly set the timestamp for when the selection was gained, instead using 0 (CurrentTime). It should instead use the timestamp of the event that caused the selection to be gained. We can't modify NewClaim to take in a timestamp parameter for two reasons:
Instead, we should create a different constructor that takes in a timestamp. Possibly NewClaimWithTimestamp or something.