Browse Source

no message

xingzai 2 years ago
parent
commit
5b0543b0c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/yidong.go

+ 1 - 1
services/yidong.go

@@ -415,7 +415,7 @@ func GetActivityTextTime(timeYidong string) (timeText string) {
 	startTime := utils.StrTimeToTime(strTime)
 	week := utils.StrDateTimeToWeek(strTime)
 	timeStrYmd := startTime.Format(utils.FormatDate)
-	timeStrHmm := startTime.Format(utils.FormatTime)
+	timeStrHmm := startTime.Format(utils.FormatDateTimeNoSecond)
 	timeYmd := utils.StrTimeToTime(timeStrYmd + " 12:00:00") //拼接当天中午12点的时间
 	var amOrPm string
 	if startTime.After(timeYmd) {