From fada376b60d3f205c649aab1528b16373103168a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 3 Jul 2026 09:05:34 +0000 Subject: [PATCH] chore: import window 2007-06-30 [season 2006] --- .github/import-state.json | 2 +- import.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/import-state.json b/.github/import-state.json index b83d472..2961b61 100644 --- a/.github/import-state.json +++ b/.github/import-state.json @@ -1,6 +1,6 @@ { "current_season": 2006, - "current_from": "2007-06-27", + "current_from": "2007-06-30", "current_to": "2007-06-30", "target_end": "2026-06-30", "window_days": 20, diff --git a/import.go b/import.go index dcfe7a4..915a212 100644 --- a/import.go +++ b/import.go @@ -79,8 +79,8 @@ func importGameSchedules(db *gorm.DB) { // importBoxScores fetches and stores all box score data (line scores, player/team stats) // for games within a recent date range. func importBoxScores(db *gorm.DB) { - from := time.Date(2007, time.June, 7, 0, 0, 0, 0, time.UTC) - to := time.Date(2007, time.June, 27, 5, 30, 0, 0, time.UTC) + from := time.Date(2007, time.June, 27, 0, 0, 0, 0, time.UTC) + to := time.Date(2007, time.June, 30, 5, 30, 0, 0, time.UTC) dateRangeComment := fmt.Sprintf("--- Starting Box Score Data Import for games between %s and %s ---", from.Format("January 2, 2006"),