Skip to content

Commit a3f7951

Browse files
committed
[PC-745] Feat: '-'를 제거하는 string extension 추가
1 parent 3a2fb09 commit a3f7951

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Utility/PCFoundationExtension/Sources/String+Extension.swift

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ public extension String {
1717

1818
return lastTwoDigits
1919
}
20+
21+
var toCompactDateString: String {
22+
return self.replacingOccurrences(of: "-", with: "")
23+
}
2024
}
2125

2226
// MARK: - decodeJWT

0 commit comments

Comments
 (0)