|
@@ -3863,7 +3863,7 @@ func SeasonChartData(dataList []*data_manage.ChartEdbInfoMapping, seasonExtraCon
|
|
}
|
|
}
|
|
var newDate time.Time
|
|
var newDate time.Time
|
|
if seasonConfig.JumpYear == 1 {
|
|
if seasonConfig.JumpYear == 1 {
|
|
- newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year() - 1, 0, 0)
|
|
|
|
|
|
+ newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year() + 1, 0, 0)
|
|
} else {
|
|
} else {
|
|
newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year(), 0, 0)
|
|
newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year(), 0, 0)
|
|
}
|
|
}
|
|
@@ -3905,7 +3905,7 @@ func SeasonChartData(dataList []*data_manage.ChartEdbInfoMapping, seasonExtraCon
|
|
}
|
|
}
|
|
var newDate time.Time
|
|
var newDate time.Time
|
|
if seasonConfig.JumpYear == 1 {
|
|
if seasonConfig.JumpYear == 1 {
|
|
- newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year() - 1, 0, 0)
|
|
|
|
|
|
+ newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year() + 1, 0, 0)
|
|
} else {
|
|
} else {
|
|
newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year(), 0, 0)
|
|
newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year(), 0, 0)
|
|
}
|
|
}
|