diff --git a/Pachyderm/Client.swift b/Pachyderm/Client.swift index 895a0c37d1..8717680c3a 100644 --- a/Pachyderm/Client.swift +++ b/Pachyderm/Client.swift @@ -28,11 +28,7 @@ public class Client { lazy var decoder: JSONDecoder = { let decoder = JSONDecoder() - let formatter = DateFormatter() - formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SZ" - formatter.timeZone = TimeZone(abbreviation: "UTC") - formatter.locale = Locale(identifier: "en_US_POSIX") - decoder.dateDecodingStrategy = .formatted(formatter) + decoder.dateDecodingStrategy = .iso8601 return decoder }()