mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 14:05:13 +00:00
dates change
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user