From b3e36f42a6f7395b7310a3df83d5db08aaaedc9f Mon Sep 17 00:00:00 2001 From: leeyoonchae Date: Tue, 20 Aug 2024 16:50:14 +0900 Subject: [PATCH] fix : Date --- .../Sources/UI/Feature/Main/Home/Component/BookMarkCeil.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/App/Sources/UI/Feature/Main/Home/Component/BookMarkCeil.swift b/Projects/App/Sources/UI/Feature/Main/Home/Component/BookMarkCeil.swift index 33e0a9b..4014910 100644 --- a/Projects/App/Sources/UI/Feature/Main/Home/Component/BookMarkCeil.swift +++ b/Projects/App/Sources/UI/Feature/Main/Home/Component/BookMarkCeil.swift @@ -89,8 +89,8 @@ struct BookMarkCeil: View { private func formattedDate(_ date: Date) -> String { let dateFormatter = DateFormatter() - dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss" // 원하는 형식으로 설정 + dateFormatter.dateFormat = "yyyy년 MM월 dd일 a HH:mm" + dateFormatter.locale = Locale(identifier: "ko_KR") return dateFormatter.string(from: date) } - }