File tree Expand file tree Collapse file tree
Neki-iOS/Features/Archive/Sources/Presentation/Sources/Extension Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,3 @@ extension Date {
1313 return DateFormatters . dotFormat. string ( from: self )
1414 }
1515}
16-
17- private struct DateFormatters {
18- static let dotFormat : DateFormatter = {
19- let formatter = DateFormatter ( )
20- formatter. dateFormat = " yyyy.MM.dd "
21- formatter. locale = Locale ( identifier: " ko_KR " )
22- return formatter
23- } ( )
24- }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ extension String {
3535 }
3636}
3737
38- private struct DateFormatters {
38+ struct DateFormatters {
3939
4040 // 1. 밀리초 + 타임존 (Standard InternetDateTime + Fractional)
4141 static let iso8601Fractional : ISO8601DateFormatter = {
@@ -71,4 +71,11 @@ private struct DateFormatters {
7171 ]
7272 return formatter
7373 } ( )
74+
75+ static let dotFormat : DateFormatter = {
76+ let formatter = DateFormatter ( )
77+ formatter. dateFormat = " yyyy.MM.dd "
78+ formatter. locale = Locale ( identifier: " ko_KR " )
79+ return formatter
80+ } ( )
7481}
You can’t perform that action at this time.
0 commit comments