diff --git a/Sources/CertLogic/Date+.swift b/Sources/CertLogic/Date+.swift index a75dd01..b86d10b 100644 --- a/Sources/CertLogic/Date+.swift +++ b/Sources/CertLogic/Date+.swift @@ -54,13 +54,10 @@ extension Date { }() static let iso8601Formatter: ISO8601DateFormatter = { - let formatter = ISO8601DateFormatter() - formatter.formatOptions = [.withFullDate, - .withTime, - .withDashSeparatorInDate, - .withColonSeparatorInTime] - return formatter - }() + let formatter = ISO8601DateFormatter() + formatter.timeZone = TimeZone(abbreviation: "UTC") + return formatter + }() var ISO8601String: String { return Date.iso8601Full.string(from: self) }