Browse Source

no message

xingzai 1 year ago
parent
commit
6dd10ce368
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/es_comprehensive.go

+ 1 - 1
services/es_comprehensive.go

@@ -460,7 +460,7 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 			return
 			return
 		}
 		}
 		for _, v := range listAuthor {
 		for _, v := range listAuthor {
-			v.LatestPublishDate = utils.TimeRemoveHms2(v.LatestPublishDate)
+			v.LatestPublishDate = v.LatestPublishTime.Format(utils.FormatDate)
 			v.LabelKeywordImgLink = utils.LABEL_ICO_9
 			v.LabelKeywordImgLink = utils.LABEL_ICO_9
 			mapItems[fmt.Sprint(utils.CYGX_OBJ_YANXUANSPECIAL_AUTHOR, v.Id)].YanxuanSpecialAuthor = v
 			mapItems[fmt.Sprint(utils.CYGX_OBJ_YANXUANSPECIAL_AUTHOR, v.Id)].YanxuanSpecialAuthor = v
 		}
 		}