From 11be044eb4bc030db814e92d96e1c6bcdd2bd01e Mon Sep 17 00:00:00 2001 From: kim-seonwoo Date: Thu, 23 Oct 2025 20:03:51 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Fix/#160]=20Date=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clody_iOS/Clody_iOS/Clody_iOS.entitlements | 5 +++++ Clody_iOS/Clody_iOS/Global/Extensions/Date+.swift | 13 +------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Clody_iOS/Clody_iOS/Clody_iOS.entitlements b/Clody_iOS/Clody_iOS/Clody_iOS.entitlements index 80b5221d..3eb8740f 100644 --- a/Clody_iOS/Clody_iOS/Clody_iOS.entitlements +++ b/Clody_iOS/Clody_iOS/Clody_iOS.entitlements @@ -8,5 +8,10 @@ Default + com.apple.developer.associated-domains + + clody.airbridge.io + YOUR_APP_NAME.deeplink.page + diff --git a/Clody_iOS/Clody_iOS/Global/Extensions/Date+.swift b/Clody_iOS/Clody_iOS/Global/Extensions/Date+.swift index 1a73027c..b668cefd 100644 --- a/Clody_iOS/Clody_iOS/Global/Extensions/Date+.swift +++ b/Clody_iOS/Clody_iOS/Global/Extensions/Date+.swift @@ -46,20 +46,9 @@ extension Date { } func toKSTDiaryString() -> String { - let now = Date() - let calendar = Calendar.current - var targetDate = now - - if calendar.isDateInYesterday(self) { - if let adjustedDate = calendar.date(byAdding: .day, value: -1, to: now) { - targetDate = adjustedDate - } - } - let formatter = DateFormatter() - formatter.locale = Locale(identifier: "en_US_POSIX") formatter.timeZone = TimeZone(identifier: "Asia/Seoul") formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss" - return formatter.string(from: targetDate) + return formatter.string(from: self) } } From 62e6ea32e33615c53bfd1823a195f19170110c40 Mon Sep 17 00:00:00 2001 From: kim-seonwoo Date: Thu, 23 Oct 2025 21:32:57 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[Fix/#160]=20entitlements=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clody_iOS/Clody_iOS/Clody_iOS.entitlements | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Clody_iOS/Clody_iOS/Clody_iOS.entitlements b/Clody_iOS/Clody_iOS/Clody_iOS.entitlements index 3eb8740f..80b5221d 100644 --- a/Clody_iOS/Clody_iOS/Clody_iOS.entitlements +++ b/Clody_iOS/Clody_iOS/Clody_iOS.entitlements @@ -8,10 +8,5 @@ Default - com.apple.developer.associated-domains - - clody.airbridge.io - YOUR_APP_NAME.deeplink.page -