xy hai 6 días
pai
achega
dfb9fc6a40
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/hall/history/history.go

+ 1 - 1
src/server/hall/history/history.go

@@ -82,7 +82,7 @@ func GetHistoryByUserID(userID string) ([]*msg.HistoryRecord, error) {
 			Id:     int32(record.ID),
 			RoomId: int32(record.RoomID),
 			UserId: record.UserID,
-			Time:   fmt.Sprintf("%d", record.CreateTime.UnixMilli()),
+			Time:   record.CreateTime.Local().String(),
 		})
 	}