Skip to content

Commit

Permalink
Fix CFB edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveCookTU committed Sep 4, 2024
1 parent e35a574 commit 0cc1ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cfb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async fn load_results(params: RequestParams<u8>) -> Vec<GameResult> {

let week = calendar.iter().find(|week| {
selected_date
< DateTime::parse_from_rfc3339(&week.last_game_start)
<= DateTime::parse_from_rfc3339(&week.last_game_start)
.unwrap_or_default()
.date_naive()
});
Expand Down

0 comments on commit 0cc1ab4

Please sign in to comment.