커뮤니티 게시글 상대 시간 표기 다국어 지원
This commit is contained in:
@@ -26,7 +26,7 @@ struct CreatorCommunityItemView: View {
|
||||
.font(.custom(Font.preBold.rawValue, size: 18))
|
||||
.foregroundColor(Color.white)
|
||||
|
||||
Text(item.date)
|
||||
Text(item.relativeTimeText())
|
||||
.font(.custom(Font.preRegular.rawValue, size: 14))
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
}
|
||||
@@ -100,6 +100,7 @@ struct CreatorCommunityItemView_Previews: PreviewProvider {
|
||||
content: "안녕하세요",
|
||||
price: 10,
|
||||
date: "3일전",
|
||||
dateUtc: "2025-08-10T15:00:00",
|
||||
isCommentAvailable: false,
|
||||
isAdult: false,
|
||||
isLike: false,
|
||||
|
||||
Reference in New Issue
Block a user