소스 검색

Merge branch 'ETA_1.9.4' into debug

zwxi 8 달 전
부모
커밋
0d1ee20b3c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      services/data/chart_info.go

+ 2 - 2
services/data/chart_info.go

@@ -3863,7 +3863,7 @@ func SeasonChartData(dataList []*data_manage.ChartEdbInfoMapping, seasonExtraCon
 						}
 						var newDate time.Time
 						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 {
 							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
 						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 {
 							newDate = dateTime.AddDate(time.Now().Year()-dateTime.Year(), 0, 0)
 						}