Skip to content

Commit 5915418

Browse files
Merge pull request #1359 from nnethercote/fix-end-date
Fix end date selection on the compare page.
2 parents 53f2ca5 + 2f3c07f commit 5915418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/selector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub fn artifact_id_for_bound(data: &Index, bound: Bound, is_left: bool) -> Optio
4848
} else {
4949
commits
5050
.iter()
51-
.rfind(|commit| bound.left_match(commit))
51+
.rfind(|commit| bound.right_match(commit))
5252
.cloned()
5353
};
5454
commit.map(|c| ArtifactId::Commit(c)).or_else(|| {

0 commit comments

Comments
 (0)