|
@@ -127,9 +127,9 @@ func RefreshDataFromPb() (err error) {
|
|
|
now := time.Now()
|
|
|
var endDate string
|
|
|
if now.Hour() == 0 {
|
|
|
- endDate = time.Now().AddDate(0, 0, -1).Format(utils.FormatDate)
|
|
|
+ endDate = time.Now().AddDate(0, 0, -1).Format(utils.FormatDateUnSpace)
|
|
|
} else {
|
|
|
- endDate = time.Now().Format(utils.FormatDate)
|
|
|
+ endDate = time.Now().Format(utils.FormatDateUnSpace)
|
|
|
}
|
|
|
for _, v := range items {
|
|
|
startDate := v.EndDate.AddDate(0, 0, -3).Format(utils.FormatDateUnSpace)
|