We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aec6a73 commit 82645ecCopy full SHA for 82645ec
Sources/CustomDump/Conformances/Foundation.swift
@@ -47,12 +47,12 @@ extension Calendar: CustomDumpReflectable {
47
"Date(\(Self.formatter.string(from: self)))"
48
}
49
50
- private static let formatter: DateFormatter = {
+ private static var formatter: DateFormatter {
51
let formatter = DateFormatter()
52
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXXX"
53
formatter.timeZone = TimeZone(secondsFromGMT: 0)!
54
return formatter
55
- }()
+ }
56
57
#endif
58
0 commit comments