Skip to content

Commit fea6a1c

Browse files
committed
refactor: Date.formatted()로 개선
1 parent af8912d commit fea6a1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DevLog_Unit/Support/LocalFirebaseRESTSupport.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ private extension LocalFirebaseRESTSupport {
344344
}
345345

346346
func timestampValue(_ value: Date) -> [String: Any] {
347-
["timestampValue": ISO8601DateFormatter().string(from: value)]
347+
["timestampValue": value.formatted(.iso8601)]
348348
}
349349

350350
func boolValue(

0 commit comments

Comments
 (0)