완료 방송 상대 시간 표시
최근 종료 방송 카드에 UTC 기준 상대 시간 문자열을 표시한다.
This commit is contained in:
@@ -28,7 +28,7 @@ struct LatestFinishedLiveItemView: View {
|
||||
|
||||
Spacer()
|
||||
|
||||
Text(item.timeAgo)
|
||||
Text(item.relativeTimeText())
|
||||
.font(.custom(Font.preRegular.rawValue, size: 16))
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
}
|
||||
@@ -45,7 +45,8 @@ struct LatestFinishedLiveItemView: View {
|
||||
memberId: 1,
|
||||
nickname: "크리에이터 1",
|
||||
profileImageUrl: "https://cf.sodalive.net/profile/34638/34638-profile-5bfc2bac-3278-48f8-b60c-1294b615f629-8832-1751707083877",
|
||||
timeAgo: "5분전"
|
||||
timeAgo: "5분전",
|
||||
dateUtc: "2025-08-10T15:00:00"
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user