dates change

This commit is contained in:
Ravi Prasad
2026-05-05 22:52:17 -05:00
parent 70387ded4f
commit 6376cdbe9d
2 changed files with 235 additions and 25 deletions
+3 -3
View File
@@ -64,7 +64,7 @@ func importGameSchedules(db *gorm.DB) {
months := []string{
// "september", "october", "november", "december", "january",
// "february", "march", "april", "may", "june",
"february", "march", "april", "may", "june",
"april", "may", "june",
// "february", "march", "april", "may", "june",
// "october", "november", "december",
}
@@ -91,9 +91,9 @@ func importGameSchedules(db *gorm.DB) {
func importBoxScores(db *gorm.DB) {
// now := time.Now()
from := time.Date(2026, time.April, 10, 0, 0, 0, 0, time.UTC)
from := time.Date(2026, time.April, 28, 0, 0, 0, 0, time.UTC)
// from := time.Date(now.Year(), now.Month(), now.Day()-1, 5, 30, 0, 0, time.UTC)
to := time.Date(2026, time.May, 1, 5, 30, 0, 0, time.UTC)
to := time.Date(2026, time.June, 15, 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"),